Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: dsl-dpkg.dsl is bloated< Next Oldest | Next Newest >
odradek Offline





Group: Members
Posts: 10
Joined: Aug. 2006
Posted: Aug. 12 2006,22:41 QUOTE

Hi, I found that the dsl-dpkg.dsl package comes with a lot of extra baggage.  There is almost 6MB of stuff in /var/lib/dpkg.  Some of it not useful, like the md5s in /var/lib/dpkg/info.  Other stuff is potentially useful but problematic --  I could see it could be useful to have a list of the deb packages that are already installed in a base dsl installation, so that the dependency checking would work when I try to grab more packages with apt-get -- but the packages listed in here don't really reflect the ones that came with my version of dsl (3.0.1)

For example, to grab the "unzip" package, I have to do

sudo apt-get remove unzip
sudo apt-get install unzip

because /var/lib/dpkg/status that came with dsl-dpkg.dsl says the unzip package is already installed, although in fact it isn't installed on my machine.

Just wanted to share this, thanks.
Back to top
Profile PM 
Del Offline





Group: Members
Posts: 109
Joined: Dec. 2003
Posted: Aug. 13 2006,03:59 QUOTE

DSL ships with a version of zip built into busybox. By having zip in the dpkg database you can install debs that depend on zip without them breaking (since the zip deb isn't actually there). Also, gnu-utils.dsl contains the correct zip which replaces the crappy unzip that exists in the busybox binary. If you install gnu-utils.dsl then the dpkg database better matches what's actually installed.

--------------
Del
--da da da--
Back to top
Profile PM 
odradek Offline





Group: Members
Posts: 10
Joined: Aug. 2006
Posted: Aug. 13 2006,17:03 QUOTE

There are other inconsistencies between the dpkg database and the packages found in dsl; I just picked unzip as an example.

I'm working on a remaster and just thought I would point out that this package comes with a lot of data files that I would consider extraneous.  If its not a concern to you thats fine, as for me I'm planning to clean this dir up so I can put that space to better use!
Back to top
Profile PM 
Del Offline





Group: Members
Posts: 109
Joined: Dec. 2003
Posted: Aug. 13 2006,22:05 QUOTE

Indeed, zip/unzip was used as an example. I imagine there are several instances where the dpkg database is set up to match assorted mydsl packages (though I don't know for sure).

--------------
Del
--da da da--
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 13 2006,22:22 QUOTE

I don't think dpkg was configured with mydsl in mind at all, as mydsl has nothing to do with debian packages and in many cases is incompatible with them.  It's my guess is odradek is right about it just being filled with unneeded data from whatever system it was originally installed on.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
4 replies since Aug. 12 2006,22:41 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: dsl-dpkg.dsl is bloated

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code