[Bug 1308670] Re: "apt-get -s --print-uris update" does not work on Tahr
David Kalnischkies
1308670 at bugs.launchpad.net
Wed Apr 16 21:15:06 UTC 2014
Well, this is intended behavior as our commandline parser got stricter
and allows/forbids options based on the subcommands (like update)
instead of accepting and possibly silently ignoring all options for
every subcommand confusing the hell out of users and developers alike.
Simulation (-s) is e.g. a option which had no effect for "update". And
it has also semantically no effect as "--print-uris" already expresses
the wish to do 'nothing'.
So, if this is just muscle memory, it might be painful, but I would like to ask you to retrain yourself. After all: Less typing for the same effect! ;)
If you happen to use that in a script, changing would be a good idea here, too, as said, in this case the behavior does not change at all, so you can remove it and still support any apt version as before.
In the (unlikely) even this is a very very important application hard-depending on this which can't be fixed easily, please reopen the bug and we will figure something out as a temporary workaround.
** Changed in: apt (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1308670
Title:
"apt-get -s --print-uris update" does not work on Tahr
Status in “apt” package in Ubuntu:
Invalid
Bug description:
On Tahr:
$ apt-get -s --print-uris update
E: Command line option 's' [from -s] is not known.
On saucy (expected result)
$ apt-get -s --print-uris update
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
...
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apt 1.0.1ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Apr 16 11:08:04 2014
InstallationDate: Installed on 2014-04-11 (4 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Daily amd64 (20140411)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1308670/+subscriptions
More information about the foundations-bugs
mailing list