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

Bug#916112: apt-get purge filename.deb not working like expected



Package: apt
Version: 1.8.0~alpha2
Severity: minor

Dear Maintainer,

 apt-get is great to install packages.  Especially when the package at
hand is locally lying around on the harddisk.  It even resolves
dependencies through its algorithm.

 So far, so good.  What I tried after an "apt-get -y install ./foo.deb"
was an "apt-get -y purge ./foo.deb" to see if it might work too.  It
seemingly is able to figure out the package name, because it gives these
messages:

#v+
Note, selecting 'irssi-build-deps' instead of './irssi-build-deps_1.1.1-1_all.deb'
irssi-build-deps is already the newest version (1.1.1-1).
#v-

 It seemingly is able to figure out the package name from the given
filename, but then seems to have forgotten that a purge was requested,
not an install, which feels a bit weird.

 (Background of this is some auto package building that I want to set up
and need to purge the build-dependencies afterwards again, and the basis
is just the filename that mk-buid-deps created.  Probably not the wisest
approach, and I'll look into other ways to do it, but this made me
stumble upon this. :))

 Hope that helps,
Rhonda


Reply to: