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 4.25, Error apt-get dist-upgrade, DSL apt-get< Next Oldest | Next Newest >
nonoo Offline





Group: Members
Posts: 68
Joined: Oct. 2005
Posted: Feb. 05 2008,12:45 QUOTE

Hello, I have DSL install as a Debian like DSL 4.2.5 HD Install.

apt-get update work`s but

apt-get dist-upgrade

don`t work.

Quote

dpkg: error processing /var/cache/apt/archives/fileutils_4.1-10_i386.deb (--unpack):
trying to overwrite '/bin/chgrp', which is also in package coreutils
Errors were encountered while processing:
/var/cache/apt/archives/fileutils_4.1-10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@box:/home/dsl/garnome-2.20.2/desktop# dpkg-deb: subprocess paste killed by signal (Broken pipe)


How can I solved the Problem?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Feb. 05 2008,14:59 QUOTE

Why are you trying to dist-upgrade?  See the wiki, etc. for an explanation of the proper use of apt-get in DSL.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Feb. 05 2008,16:06 QUOTE

:p

No, you can't update DSL with apt-get.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
nonoo Offline





Group: Members
Posts: 68
Joined: Oct. 2005
Posted: Feb. 05 2008,19:02 QUOTE

http://damnsmalllinux.org/wiki/index.php/Apt-get

Quote

NOTE: If you need apt-specific help, go to the Debian website and read their documentation, as it is not covered here!

DSL is based on Debian, so it is possible to use apt-get after a hard drive install once the dpkg database is restored.

To restore Apt, open the menu and go Apps >> Tools >> Enable Apt

Or, if you are in runlevel 2 (console mode) type

      sudo dpkg-restore

Or, you can grab the dsl-dpkg.dsl from the MyDSL Repository and install it using the directions in 3.1 of this Documentation.

Or, in the new 3.2 version... go to a command prompt and type

     rxvt -rv -T "DSL Apt and Dpkg Restore" -e sudo dpkg-restore

After this you should type

     apt-get update

This will get the latest package list.

However you get it, once dpkg has been restored, you need to bring it up to date.

Before you do that, though, you might want to choose a different area of debian, such as "stable", "testing", or "unstable". Though this is not required.

To edit the apt config file, type

      sudo nano /etc/apt/sources.list

and change the line

      deb http://ftp.us.debian.org/debian/ oldstable main non-free contrib

to something like

      deb http://ftp.us.debian.org/debian/ testing main non-free contrib

Then, open a root xterm and type

      apt-get update

After the process is finished, you have the ability to grab most anything from Debian!

Now for the warning:

DSL is not derived purely from Debian, if you 'apt-get install' the wrong application you may break something, for instance, the X servers. You may have trouble if you try to upgrade your whole DSL distro to debian (apt-get upgrade)! Another caveat is that some of the dsl binaries use BusyBox multi call binary (instead of separate binaries for find, ls etc). It causes problems when used in some of the scripts inside certain debian packages, for example xpdf. Use apt to grab individual packages, but only the expert should try major system upgrades.

Another Note: if you plan to use the system for development it could help you to install from source some packages. Coreutils, gzip will replace the Busybox binary. You can get those from gnu.org and compile them. You may also consider to compile and install the latest perl version. Overall it works pretty well but some things may be broken here and there.


No, I have read.

nonoo
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Feb. 05 2008,22:23 QUOTE

There's a big difference between update and dist-upgrade. As what you pasted in says, "DSL is not derived purely from Debian, if you 'apt-get install' the wrong application you may break something..."

Using dist-upgrade can be very problematic even on a bleeding edge system. DSL is NOT bleeding edge. Running that command will attempt to update every dependency. You probably don't want to do that. If you do, try another distro oriented for "adventure" instead of stability.

Another disclaimer: DSL is contemporaneous with Debian Woody. Debian no longer supports Woody. Don't expect DSL to support what Debian doesn't. There are many things in Woody that will  work very well in DSL. You might be able to get things in newer pools to work well in DSL, but it may also break your system. Keep in mind DSL is *not* Debian or Ubuntu. You might want to go back to Ubuntu if you want to maintain a bleeding edge system like that.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
4 replies since Feb. 05 2008,12:45 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: DSL 4.25, Error apt-get dist-upgrade

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