Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#3742 - pacman outputs silly "up to date" message

Attached to Project: Pacman
Opened by Johannes Jordan (FoPref) - Wednesday, 11 January 2006, 16:48 GMT
Task Type Bug Report
Category
Status Closed
Assigned To No-one
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If a package was installed in latest version, but then uninstalled, and the user wants to install it again, he will get following warning:

[root@lanrules fopref]# pacman -S imlib2-devel
:: imlib2-devel-1.2.1.007-1: is up to date. Upgrade anyway? [Y/n]
----
Although it is "up to date" it is not installed. So this message is misleading the user. If he proceeds, in this example, he gets informed about, that indeed action is taken more than just reinstall a already installed package:

Remove: imlib2

Targets: imlib2-devel-1.2.1.007-1

Total Package Size: 0.7 MB

Proceed with upgrade? [Y/n]
This task depends upon

Closed by  Judd Vinet (judd)
Wednesday, 11 January 2006, 21:57 GMT
Reason for closing:  Works for me
Comment by Judd Vinet (judd) - Wednesday, 11 January 2006, 20:30 GMT
Hmm, I can't reproduce this.

[root@mars jvinet]# pacman -S patch
:: patch-2.5.5-1: local version is newer. Upgrade anyway? [Y/n] n
[root@mars jvinet]# pacman -R patch
removing patch... done.
[root@mars jvinet]# pacman -S patch

Targets: patch-2.5.4-2

Total Package Size: 0.1 MB

Proceed with upgrade? [Y/n]

:: Retrieving packages from current...
patch-2.5.4-2 [################] 100% 51K 1342K/s 00:00:00

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
installing patch... done.
Comment by Judd Vinet (judd) - Wednesday, 11 January 2006, 20:31 GMT
Sorry, I had a newer version of patch. Here is the proper (and expected) output.


[root@mars jvinet]# pacman -S patch
:: patch-2.5.4-2: is up to date. Upgrade anyway? [Y/n] n
[root@mars jvinet]# pacman -R patch
removing patch... done.
[root@mars jvinet]# pacman -S patch

Targets: patch-2.5.4-2

Total Package Size: 0.1 MB

Proceed with upgrade? [Y/n]

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
installing patch... done.
Comment by Johannes Jordan (FoPref) - Wednesday, 11 January 2006, 21:55 GMT
I can't reproduce it either. perhaps it indeed was already installed with -d option.

Loading...