Re: removing obsolete packages
* Karsten M. Self [010404 09:45]: > What you want is "apt-get clean" > > > > "autoclean" only removes packages that can no longer be downloaded. > > ...which is to say, packages which have been replaced by updated > versions. > > What he wants _is_ autoclean, why it's not working, or his understanding > of its workings, is a mystery. If this is the expected behaviour: samwise:/var/cache/apt/archives# dpkg -l konqueror ii konqueror 2.1.1-0.potato3 KDE's advanced File Manager, Web Browser and Document Viewer samwise:/var/cache/apt/archives# ls konqueror* konqueror_2.1.0.1-0.potato4_i386.deb konqueror_2.1.1-0.potato1_i386.deb konqueror_2.1.1-0.potato3_i386.deb samwise:/var/cache/apt/archives# apt-get -s autoclean | grep konqueror Del konqueror 2.1.0.1-0.potato4 [1197kB] Del konqueror 2.1.1-0.potato1 [1200kB] Del konqueror 2.1.1-0.potato3 [1200kB] then I'm sure my understanding of autoclean is wrong. Iwan.
Re: removing obsolete packages
* Karsten M. Self [030401 20:30]: > on Tue, Apr 03, 2001 at 07:52:02PM -0500, Robert A. Jacobs ([EMAIL > PROTECTED]) wrote: > > * Iwan Mouwen <[EMAIL PROTECTED]> [030401 19:28]: > > > Hi, > > > > > > is there a way to delete packages from the cache (or from some other > > > directory) for which a newer package exists in that directory. > > > My /var/cache/apt/archives has several versions of lots of packages and > > > I want to remove them. apt-get autoclean doesn't seem to do what I want. > > > > > > > What you want is "apt-get clean" > > > > "autoclean" only removes packages that can no longer be downloaded. > > ...which is to say, packages which have been replaced by updated > versions. > > What he wants _is_ autoclean, why it's not working, or his understanding > of its workings, is a mystery. Whoops. Shoulda read his post closer...I thought he wanted to clean out all the packages in that directory. A second read through cleared up my misconception. robert a. jacobs
Re: removing obsolete packages
on Tue, Apr 03, 2001 at 07:52:02PM -0500, Robert A. Jacobs ([EMAIL PROTECTED]) wrote: > * Iwan Mouwen <[EMAIL PROTECTED]> [030401 19:28]: > > Hi, > > > > is there a way to delete packages from the cache (or from some other > > directory) for which a newer package exists in that directory. > > My /var/cache/apt/archives has several versions of lots of packages and > > I want to remove them. apt-get autoclean doesn't seem to do what I want. > > > > What you want is "apt-get clean" > > "autoclean" only removes packages that can no longer be downloaded. ...which is to say, packages which have been replaced by updated versions. What he wants _is_ autoclean, why it's not working, or his understanding of its workings, is a mystery. -- Karsten M. Self http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org pgpJH0cK7AXsD.pgp Description: PGP signature
Re: removing obsolete packages
* Iwan Mouwen <[EMAIL PROTECTED]> [030401 19:28]: > Hi, > > is there a way to delete packages from the cache (or from some other > directory) for which a newer package exists in that directory. > My /var/cache/apt/archives has several versions of lots of packages and > I want to remove them. apt-get autoclean doesn't seem to do what I want. > What you want is "apt-get clean" "autoclean" only removes packages that can no longer be downloaded. robert a. jacobs
Re: removing obsolete packages
on Wed, Apr 04, 2001 at 12:09:18AM +0200, Iwan Mouwen ([EMAIL PROTECTED]) wrote: > Hi, > > is there a way to delete packages from the cache (or from some other > directory) for which a newer package exists in that directory. > My /var/cache/apt/archives has several versions of lots of packages and > I want to remove them. apt-get autoclean doesn't seem to do what I want. apt-get autoclean _should_ do what you're asking. You are running it as root? If it's not: - Verify that these *are* the same packages. - File a bug report if they are. Cheers. -- Karsten M. Self http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org pgpLHzL71fU1p.pgp Description: PGP signature
removing obsolete packages
Hi, is there a way to delete packages from the cache (or from some other directory) for which a newer package exists in that directory. My /var/cache/apt/archives has several versions of lots of packages and I want to remove them. apt-get autoclean doesn't seem to do what I want. Iwan.
Re: Removing obsolete packages
Lukas Eppler hat gesagt: // Lukas Eppler wrote: > On Mon, 17 Nov 1997, Dirk Bonne wrote: > > > > "Lukas" == Lukas Eppler <[EMAIL PROTECTED]> writes: > > > > Lukas> Hi, When I remove a package, which contains files also > > Lukas> contained in other packages, is it removed? > > > > Lukas> Or, if I remove a file from perl-base, is /usr/bin/perl > > Lukas> still there afterwards, because it's contained in the perl > > Lukas> package? Do I risk perl and dpkg to be unable to run by > > Lukas> removing perl-base? > > > > dpkg will refuse to remove a package if it removal would break another > > installed package (except if you force dpkg) > > Nooo... see what happened > > io# /etc/init.d/sendmail start > /etc/init.d/sendmail: /usr/sbin/start-stop-daemon: No such file or > directory > io# head -3 /usr/sbin/start-stop-daemon > #!/usr/bin/perl -- > > $version= '1.4.0.8'; # This line modified by Makefile > io# ls /usr/bin/perl > ls: /usr/bin/perl: No such file or directory > > That was exactly why I asked, to avoid this! > I used dselect, no happy dpkg hacking. grunt. > > perl-base was marked Obsolete. > > -- Had the same problem a while ago. After upgrading perl I remove the "obsolete" old perl via dselect. It turned out that /usr/bin/perl had disappeared after this. But there was a /usr/bin/perl5... I symlinked it to /usr/bin/perl and everything was okay. -- Yours http://www.koeln-online.de/einblick/";> Frank Barknecht Das Koelner Stadt- und Unimagazin >-< -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Removing obsolete packages
On Mon, 17 Nov 1997, Dirk Bonne wrote: > > "Lukas" == Lukas Eppler <[EMAIL PROTECTED]> writes: > > Lukas> Hi, When I remove a package, which contains files also > Lukas> contained in other packages, is it removed? > > Lukas> Or, if I remove a file from perl-base, is /usr/bin/perl > Lukas> still there afterwards, because it's contained in the perl > Lukas> package? Do I risk perl and dpkg to be unable to run by > Lukas> removing perl-base? > > dpkg will refuse to remove a package if it removal would break another > installed package (except if you force dpkg) Nooo... see what happened io# /etc/init.d/sendmail start /etc/init.d/sendmail: /usr/sbin/start-stop-daemon: No such file or directory io# head -3 /usr/sbin/start-stop-daemon #!/usr/bin/perl -- $version= '1.4.0.8'; # This line modified by Makefile io# ls /usr/bin/perl ls: /usr/bin/perl: No such file or directory That was exactly why I asked, to avoid this! I used dselect, no happy dpkg hacking. grunt. perl-base was marked Obsolete. -- Lukas Eppler (godot) http://www.fear.ch telnet://soil.fear.ch: talk:[EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Removing obsolete packages
On Mon, 17 Nov 1997, Dirk Bonne wrote: > > "Lukas" == Lukas Eppler <[EMAIL PROTECTED]> writes: > Lukas> Hi, When I remove a package, which contains files also > Lukas> contained in other packages, is it removed? > dpkg will refuse to remove a package if it removal would break another > installed package (except if you force dpkg) Okk, I deinstalled it and everything still worked. I once removed the pcmcia-cs-binaries after having compiled the pcmcia-source, which is in the main tree (the binaries did not work) and it removed the newly compiled binaries. I assume this was a special case; I didn't want to risk anything, and perl is very important to debian. Thanks for your help. Gruss -- Lukas Eppler (godot) http://www.fear.ch telnet://soil.fear.ch: talk:[EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Removing obsolete packages
> "Lukas" == Lukas Eppler <[EMAIL PROTECTED]> writes: Lukas> Hi, When I remove a package, which contains files also Lukas> contained in other packages, is it removed? Lukas> Or, if I remove a file from perl-base, is /usr/bin/perl Lukas> still there afterwards, because it's contained in the perl Lukas> package? Do I risk perl and dpkg to be unable to run by Lukas> removing perl-base? dpkg will refuse to remove a package if it removal would break another installed package (except if you force dpkg) Lukas> The following files seem to be shared: These are not files, but directories. Dirk -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Removing obsolete packages
Hi, When I remove a package, which contains files also contained in other packages, is it removed? Or, if I remove a file from perl-base, is /usr/bin/perl still there afterwards, because it's contained in the perl package? Do I risk perl and dpkg to be unable to run by removing perl-base? The following files seem to be shared: perl, libnet, perl-base, perl-suid, netbase: /usr/lib/perl5 perl, libnet, perl-base, perl-suid: /usr/lib/perl5/i386-linux perl, libnet, perl-base, perl-suid: /usr/lib/perl5/i386-linux/5.00307 perl, libnet, perl-base: /usr/lib/perl5/i386-linux/5.00307/auto perl, perl-base: /usr/lib/perl5/i386-linux/5.00307/auto/Socket perl, perl-base: /usr/lib/perl5/File perl, perl-base: /usr/lib/perl5/auto perl, perl-base: /usr/lib/perl5/auto/DynaLoader Gruss -- Lukas Eppler (godot) http://www.fear.ch telnet://soil.fear.ch: talk:[EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .