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

Bug#114241: apt: synonims do not work for --target-release and no check done



Package: apt
Version: 0.5.4
Severity: normal

The command:

# apt-get -t potato install pacman

is not recognized as the same as:

# apt-get -t stable install pacman

even though "potato" and "stable" are the same. That is aggravated by
the lack of apt-get checking and failing if a specified target does
not exist. So, in this case, the command would proceed with no user
warning to install (and potentially upgrade) his pacman to the newest
version available. apt-get should check and fail if the target does
not exist. This would also prevent the same problem when a typo
occurs, e.g.:

# apt-get -t stble install pacman

Thanks,

Zorzella

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux purple 2.2.18 #1 Sun Jan 14 08:53:46 PST 2001 i586 unknown

Versions of the packages apt depends on:
ii  libc6          2.2.4-1        GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10- 2.95.4-0.01090 The GNU stdc++ library



Reply to: