Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 Apr 2015, 13:14
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Installing newer .deb packages in older pups
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
cimarron

Joined: 30 May 2013
Posts: 189

PostPosted: Thu 19 Mar 2015, 18:41    Post subject:  Installing newer .deb packages in older pups
Subject description: xz compression .pet for Debian-compatible pups, Precise or earlier
 

I noticed today that Debian (and Ubuntu) packages apparently switched to using xz compression sometime after Precise puppy came out. I could not install (or open) the newer Debian packages. The package manager would just throw an error.

The solution seems to be updating dpkg-deb (in /usr/bin). Dpkg-deb version 1.16.15 or newer can handle the xz compressed .deb packages. This is, of course, for Debian or Ubuntu-based puppy versions only.

NOTE: This dpkg-deb has a dependency of liblzma.so.5 which is in Precise (in /usr/lib), but apparently not in some other older pups. If you need it, a .pet is provided here.
dpkg-deb_1.16.15_i386.pet
Description  Installs newer dpkg-deb in /usr/bin
pet

 Download 
Filename  dpkg-deb_1.16.15_i386.pet 
Filesize  52.95 KB 
Downloaded  65 Time(s) 

Last edited by cimarron on Wed 25 Mar 2015, 17:36; edited 1 time in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 10224

PostPosted: Thu 19 Mar 2015, 18:50    Post subject:  

yes I found this out too...in my case I was testing with Lucid so that dpkg-update can be used on there.

Ironically the deb of the update of dpkg-deb that works on lucid was not unpackable with Lucid Very Happy

mike
Back to top
View user's profile Send private message 
LazY Puppy


Joined: 21 Nov 2014
Posts: 443
Location: Germany

PostPosted: Thu 19 Mar 2015, 19:05    Post subject:  

Quote:
Ironically the deb of the update of dpkg-deb that works on lucid was not unpackable with Lucid

GZ compressed package.
dpkg-deb_1.16.15_i386-gz-compression.pet
Description 
pet

 Download 
Filename  dpkg-deb_1.16.15_i386-gz-compression.pet 
Filesize  53.27 KB 
Downloaded  44 Time(s) 

_________________
RSH
No Smart-Phones, no FaceBook, no Twitter etc...
but: LazY Puppy!
Copyright is NOT Copyleft: good people are aware of this and respect both of them!
Back to top
View user's profile Send private message 
cimarron

Joined: 30 May 2013
Posts: 189

PostPosted: Thu 19 Mar 2015, 19:13    Post subject:  

You don't mean the .pet I supplied is xz, do you? I just used dir2pet to make it, and didn't select xz compression.

Maybe you mean the dpkg .deb package you originally tried?
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 756

PostPosted: Fri 20 Mar 2015, 00:36    Post subject:  

Is xz compression support a kernel feature? I wonder if this update will work in wary whoose kernel, I know, does not support xz compression.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 10224

PostPosted: Fri 20 Mar 2015, 05:49    Post subject:  

Quote:
Maybe you mean the dpkg .deb package you originally tried?

yes sorry for the confusion... I grabbed it from debian sid backports ... seems they had a newer version than lucid IIRC..I tend to do things and then forget Very Happy

Not sure if dpkg-deb handles xz itself or uses shared libs/kernel...though I could open the debs in slax 6 which is considerably older.

Mike
Back to top
View user's profile Send private message 
shomon

Joined: 25 Mar 2015
Posts: 1

PostPosted: Wed 25 Mar 2015, 15:54    Post subject: liblzma.so.5
Subject description: liblzma.so.5 doesn't want to install
 

Hi,

I've been trying to set up a website that needs the php5-oauth library. So I downloaded the corresponding .deb file and petget gave me the xz error which brought me to this thread. I'm now trying to figure out the following error:

Quote:
# petget php5-oauth_1.2.3-1+b1_i386.deb
dpkg-deb: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
dpkg-deb: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
EXIT="OK"


I can't figure out if that's dpkg-deb that needs it or if it's a missing dependency for oauth, and in ppm liblzma gives a download error. Should I get both of these as .debs?

Thanks!

Ale
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 10224

PostPosted: Wed 25 Mar 2015, 17:12    Post subject:  

yep dpkg-deb wants the lzma lib

Hopefully you dont need xz to get the dependency...one gets into a bit of a catch 22 with this...shame they felt the need to change the format

mike
Back to top
View user's profile Send private message 
cimarron

Joined: 30 May 2013
Posts: 189

PostPosted: Wed 25 Mar 2015, 17:32    Post subject:  

Yes, liblzma.so.5 is listed as a dependency for this dpkg-deb. Precise pup has it already.

Here's a .pet with liblzma.so.5 from Precise (it places it in /usr/lib); you can see if it works for you.
liblzma5.pet
Description  dependency liblzma.so.5 for dpkg-deb
pet

 Download 
Filename  liblzma5.pet 
Filesize  76.8 KB 
Downloaded  37 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0585s ][ Queries: 12 (0.0036s) ][ GZIP on ]