No, it doesn't. Zero exit status seems correct to me, as there are no errors.
BTW, `apt-cache show' will exit with zero status if at least one package
exists, so:
$ apt-cache show coreutils package-that-does-not-exist
Package: coreutils
...
Task: minimal
N: Unable to locate package
Well, on Maverick, it's fixed:
$ apt-cache show awk
N: Can't select versions from package 'awk' as it purely virtual
N: No packages found
Thanks Eugene. Does it have a non-zero exit status too? E.g.
apt-cache show awk; echo $?
--
`apt-cache show gphoto2' is silent and exits 0.
Well, on Maverick, it's fixed:
$ apt-cache show awk
N: Can't select versions from package 'awk' as it purely virtual
N: No packages found
** Changed in: apt (Ubuntu)
Status: Confirmed = Fix Released
--
`apt-cache show gphoto2' is silent and exits 0.
https://bugs.launchpad.net/bugs/18306
In Maverick at the Terminal:
apt-cache show gphoto2
Package: gphoto2
Priority: extra
Section: universe/utils
Installed-Size: 1004
Maintainer: Ubuntu MOTU Developers ubuntu-m...@lists.ubuntu.com
Original-Maintainer: Debian PhotoTools Maintainers
pkg-phototools-de...@lists.alioth.debian.org
It does not matter that gphoto2 now displays different information.
That was an example package back then. I don't see anything that
suggests 10.10 has fixed the underlying issue. On 10.04 I still get
$ apt-cache show awk
$ echo $?
0
$
Please ensure the issue is fully
Thank you for posting this issue.
Does it occur in Lucid?
** Changed in: apt (Ubuntu)
Status: Confirmed = Incomplete
--
`apt-cache show gphoto2' is silent and exits 0.
https://bugs.launchpad.net/bugs/18306
You received this bug notification because you are a member of Ubuntu
Bugs, which
** Changed in: apt (Ubuntu)
Assignee: Michael Vogt (mvo) = (unassigned)
--
`apt-cache show gphoto2' is silent and exits 0.
https://bugs.launchpad.net/bugs/18306
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing
As I just wrote to the Debian bug, this is a little nuisance. If apt-
cache show package does not have information about a package, it
should exit with a nonzero status. This bug just bit me again (see bug
186943), in a freshly installed system apt-cache show nvidia-glx
succeeds and prints
Here's the situation on 7.04.
$ apt-cache show awk
$ echo $?
0
$ dpkg -p awk
Package `awk' is not available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
$ echo $?
1
$
** Changed in: apt (Debian)
Status: Confirmed = Won't Fix
--
`apt-cache show gphoto2' is silent and exits 0.
https://bugs.launchpad.net/bugs/18306
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
I'm setting this bug to fix released, because there has been no activity
here for about 6 weeks and the original bug report has indeed been
fixed. If there is a request out there to make apt-cache more
informative when 'show'-ing a virtual package, please create a new
ticket.
** Changed in: apt
I think Steve Harms is wrong above. The problem still remains in
Dapper. It's just gphoto2 appears to have changed from a virtual
package to a real one. But the problem remains with awk.
$ t() { apt-cache show $1 /tmp/t 21; echo $?; wc -c /tmp/t; }
$ t foo
100
53 /tmp/t
$
Present now in Dapper as well so reversing Steve's Unconfirmed - Fix
Released change but making it Confirmed.
** Changed in: apt (Ubuntu)
Status: Fix Released = Confirmed
--
`apt-cache show gphoto2' is silent and exits 0.
https://launchpad.net/bugs/18306
--
ubuntu-bugs mailing list
The broader issue is actually a 'Wishlist' request, and upstream
considers it a WONTFIX while the specific bug of gphoto2 being silent
was resolved. I will wait for your input, but we should probably at the
very least leave it as a wishlist item.
--
`apt-cache show gphoto2' is silent and exits
Issue is not present in Dapper.
** Changed in: apt (Ubuntu)
Status: Unconfirmed = Fix Released
--
`apt-cache show gphoto2' is silent and exits 0.
https://launchpad.net/bugs/18306
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
15 matches
Mail list logo