FS#5120 - pacman: silently installs partially downloaded packages
Attached to Project:
Pacman
Opened by Alexander Baldeck (kth5) - Thursday, 27 July 2006, 08:36 GMT
Last edited by Aaron Griffin (phrakture) - Monday, 22 January 2007, 16:17 GMT
Opened by Alexander Baldeck (kth5) - Thursday, 27 July 2006, 08:36 GMT
Last edited by Aaron Griffin (phrakture) - Monday, 22 January 2007, 16:17 GMT
|
Details
i just downloaded kdenetwork 3.5.4 made by tpowa, i
installed it without realizing the download was incomplete.
pacman didn't complain at all and actually installed the
broken package.
is it possible to move the meta data to the end of the tarball so that if it's not completely downloaded is not recognized as a valid package? probably pretty simple, no? ================================================================================= [maetrik] 3.5.4 $ sudo pacman -U kdegraphics-3.5.4-1.pkg.tar.gz loading package data... done. checking for file conflicts... done. upgrading kdegraphics... could not extract opt/kde/lib/libkpovmodeler.so.0.0.0: Invalid argument errors occurred while upgrading kdegraphics done. /sbin/ldconfig: file /opt/kde/lib/libkpovmodeler.so.0.0.0 is truncated [maetrik] 3.5.4 $ pacman -Qi kdenetwork Name : kdenetwork Version : 3.5.4-1 Groups : kde Packager : Tobias Powalowski <tpowa@archlinux.org> URL : http://www.kde.org License : None Architecture : i686 Size : 28816695 Build Date : Tue Jul 25 15:43:37 2006 UTC Install Date : Thu Jul 27 08:32:05 2006 UTC Install Script : No Reason: : explicitly installed Provides : None Depends On : gnutls>=1.2.4 kdebase>=3.5.4 kdelibs>=3.5.4 libxss openslp perl-io-socket-ssl ppp qca-tls rdesktop wireless_tools Required By : None Conflicts With : None Description : KDE Networking Programs. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Sunday, 04 February 2007, 03:43 GMT
Reason for closing: Fixed
Additional comments about closing: libalpm now fully verifies all archives
Sunday, 04 February 2007, 03:43 GMT
Reason for closing: Fixed
Additional comments about closing: libalpm now fully verifies all archives
edit: whoops, it seems I misunderstood the initial bug report. Let me think on this.
Can someone give me a solution for this, I can't really think of anything.
Should be fixed in CVS momentarily, and a new pacman RC will be released soon.