[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#696807: marked as done ([APT::Clean-Installed "0";] doesn't remove packages from experimental and testing repos when invoking autoclean)



Your message dated Thu, 27 Dec 2012 13:45:53 +0100
with message-id <CAAZ6_fBrMNY3cSXDe=GVaWWfw1rLqXgYCjnBt7_3mfo-8-safw@mail.gmail.com>
and subject line Re: Bug#696807: [APT::Clean-Installed "0";] doesn't remove packages from experimental and testing repos when invoking autoclean
has caused the Debian Bug report #696807,
regarding [APT::Clean-Installed "0";] doesn't remove packages from experimental and testing repos when invoking autoclean
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
696807: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696807
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message --- Package: apt
Version: 0.9.7.7


I 'm running debian wheezy testing installed from Debian beta 4 cd.iso.

root@localhost:~# cat /etc/apt/apt.conf
APT::Clean-Installed "0";
// auto-remove breaks on meta packages
APT::Get::AutomaticRemove "0";
APT::Get::HideAutoRemove "1";

// Recommends are as of now still abused in many packages
APT::Install-Recommends "0";
APT::Install-Suggests "0";
Debug::pkgAutoRemove "0";
Acquire::PDiffs "0";
// Remove apt unauthenticated warnings
APT::Get::AllowUnauthenticated "0";
root@localhost:~#

root@localhost:~# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian/ testing main contrib non-free
#deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://ftp.debian.org/debian/ experimental main contrib non-free 
deb http://www.deb-multimedia.org/ testing main non-free
root@localhost:~#

root@localhost:~#uname -a
Linux localhost 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux


But after doing an apt-get autoclean, it left some packages in the cache(after removing some vlc related .deb files), and I found that the action was incomplete and  it didn't remove the packages that I downloaded from the experimental repos and testing.
I still have iceweasel_10.0.11esr-1_amd64.
deb from testing repo.
linux-image-3.7-trunk-amd64_3.7.1-1~experimental.1_amd64.deb from experimental repo.
These .deb files are still located in my /var/cache/apt/archives/
These files should have been deleted by the autoclean command.

I reported this in debian-user mailing list and was directed to file a bugreport here.
I can give you more info if you want.


--- End Message ---
--- Begin Message ---
On Thu, Dec 27, 2012 at 1:08 PM, piruthiviraj natarajan
<piruthiviraj@gmail.com> wrote:
> But after doing an apt-get autoclean, it left some packages in the
> cache(after removing some vlc related .deb files), and I found that the
> action was incomplete and  it didn't remove the packages that I downloaded
> from the experimental repos and testing.
> I still have iceweasel_10.0.11esr-1_amd64.
> deb from testing repo.
> linux-image-3.7-trunk-amd64_3.7.1-1~experimental.1_amd64.deb from
> experimental repo.
> These .deb files are still located in my /var/cache/apt/archives/
> These files should have been deleted by the autoclean command.

Why?

The apt-get manpage says about autoclean:
"The difference is that it only removes package files that can no longer be
 downloaded"
The apt.conf manpage says about the APT::Clean-Installed option you disabled:
"If turned off then packages that are locally installed are also excluded
 from cleaning"

That the linux-image isn't removed is thanks to the fact that it is still
the current package in the archive. Same thing for iceweasel. Maybe you
have also installed one of them or both which will exclude them from being
cleaned even at the time a newer version hits the archive.


Please state explicitly what you expect and why you expect it – as far as
I can conduct from your message this is a mismatch between your expectation
and what the documentation clearly states, but I have no idea what you
actually wanted to achieve, so I might be wrong.

Still, I am closing this bugreport for now, but feel free to reopen it with
a followup message in case there is indeed a bug – and thanks for reporting
a bug even if it might turn out not to be one as it is better to report one
in case you aren't sure about it than not reporting it and suffer in
silence for eternity with all others who also said nothing.


Best regards

David Kalnischkies

--- End Message ---

Reply to: