Your message dated Thu, 20 Oct 2016 02:38:17 +0200
with message-id <[email protected]>
and subject line Re: Bug#841311: mk-build-deps: Please mark dependencies as
auto-installed
has caused the Debian Bug report #841311,
regarding mk-build-deps: Please mark dependencies as auto-installed
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 [email protected]
immediately.)
--
841311: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841311
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.16.8
Severity: wishlist
File: /usr/bin/mk-build-deps
Hi,
when installing build-dependencies of a package, I usually use
(sudo) mk-build-depends -i
All the dependencies that are installed by that command are marked as
manually installed.
As a result, removing the foo-build-deps package again, will not
autoremove the pulled in dependencies.
It would be nice if those were marked as auto so a
apt autoremove can clean those up.
Regards,
Michael
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages devscripts depends on:
ii dpkg-dev 1.18.10
ii libc6 2.24-5
ii perl 5.24.1~rc3-3
pn python3:any <none>
Versions of packages devscripts recommends:
ii apt 1.3.1
ii at 3.1.20-1
ii curl 7.50.1-1
ii dctrl-tools 2.24-2
ii debian-keyring 2016.09.04
ii dput-ng [dput] 1.10
ii equivs 2.0.9+nmu1
ii fakeroot 1.21-2
ii file 1:5.28-4
ii gnupg 2.1.15-4
ii gnupg2 2.1.15-4
ii libdistro-info-perl 0.14
ii libencode-locale-perl 1.05-1
ii liblwp-protocol-https-perl 6.06-2
ii libsoap-lite-perl 1.20-1
ii liburi-perl 1.71-1
ii libwww-perl 6.15-1
ii licensecheck 3.0.24-1
ii lintian 2.5.48
ii man-db 2.7.5-1
ii patch 2.7.5-1
ii patchutils 0.3.4-1
ii python3-debian 0.1.29
ii python3-magic 1:5.28-4
ii sensible-utils 0.0.9
ii strace 4.13-0.1
ii unzip 6.0-20
ii wdiff 1.2.2-1+b1
ii wget 1.18-4
ii xz-utils 5.2.2-1.2
Versions of packages devscripts suggests:
pn adequate <none>
ii autopkgtest 4.1
pn bls-standalone <none>
ii bsd-mailx [mailx] 8.1.2-0.20160123cvs-3
ii build-essential 12.2
pn check-all-the-things <none>
pn cvs-buildpackage <none>
pn devscripts-el <none>
pn diffoscope <none>
pn disorderfs <none>
pn dose-extra <none>
pn duck <none>
ii faketime 0.9.6-7
ii gnuplot 5.0.4+dfsg1-3
ii gpgv 2.1.15-4
pn how-can-i-help <none>
ii libauthen-sasl-perl 2.1600-1
ii libfile-desktopentry-perl 0.22-1
ii libnet-smtp-ssl-perl 1.03-1
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-2
pn libyaml-syck-perl <none>
pn mozilla-devscripts <none>
ii mutt 1.7.1-2
ii openssh-client [ssh-client] 1:7.3p1-1
pn piuparts <none>
pn ratt <none>
pn reprotest <none>
ii svn-buildpackage 0.8.6
ii w3m 0.5.3-31
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi James,
thanks for your reply.
Am 20.10.2016 um 02:15 schrieb James McCoy:
> On Wed, Oct 19, 2016 at 04:30:00PM +0200, Michael Biebl wrote:
>> when installing build-dependencies of a package, I usually use
>> (sudo) mk-build-depends -i
>>
>> All the dependencies that are installed by that command are marked as
>> manually installed.
>
> They shouldn't be. That didn't happen with any of my recent uses of
> mk-build-deps.
>
>> As a result, removing the foo-build-deps package again, will not
>> autoremove the pulled in dependencies.
>> It would be nice if those were marked as auto so a
>> apt autoremove can clean those up.
>
> Just to test, I removed one of the build-deps packages I had installed
> and apt told me all the dependencies could be removed.
>
> Have you changed the install command used by mk-build-deps?
I guess this issue can be closed. I investigated this further and this
seems to be a bug in aptitude, which I used to uninstall the foo-build-deps.
Seems apt correctly marks the packages as auto-installed (as can be seen
by apt-mark showauto) but aptitude keeps it's own state in
/var/lib/aptitude/pkgstates which is disconnected from apt's db.
I've filed #841347 for that, fwiw.
Regards,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel