HD Install :: DSL 4.25, Error apt-get dist-upgrade



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?

Why are you trying to dist-upgrade?  See the wiki, etc. for an explanation of the proper use of apt-get in DSL.
:p

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

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

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.

Next Page...
original here.