You are not logged in.

#1 2011-05-17 18:56:18

Fififox
Member
From: France
Registered: 2010-11-30
Posts: 17

[SOLVED] Ctrl-C during package download made them "disappear"

Hi !

A few hours ago, I launched the usual "sudo pacman -Syu" but I left it alone, forgetting to answer "yes" to start the download. Just now, I saw it still waiting and obviously answer "yes". But while downloading, pacman told me some file had not been found on the mirror I use, which is mir1.archlinux.fr , so I thought: "I must have waited too long before answering 'yes' and pacman's package list must be out of date again, and the files on the server must have changed inbetween !". Therefore, I did Ctrl-C to prevent any further problems.

It seems it was a bad idea, because when I launched "sudo pacman -Syu" again, some new packages appeared, but not the ones that had not been downloaded disappeared from pacman's database, and do not appear using "pacman -Qi name_of_disappeared_package". Those include gtk3, which obviously seems important.

Am I paranoid and this is all normal, or is there a problem, and can I solve it ?

Thanks !
Bye

Last edited by Fififox (2011-05-18 17:50:59)

Offline

#2 2011-05-17 19:09:24

Fififox
Member
From: France
Registered: 2010-11-30
Posts: 17

Re: [SOLVED] Ctrl-C during package download made them "disappear"

Atfer thinking about it, here are my thoughts on my problem: before downloading the new files, pacman must have removed the old ones from its database. It did not proceed to any "uninstall" action, so the old files must still be on my system (gotta check that). As all the listed packages were dependencies, I should be able to reinstall them as dependencies, right ? Let's hope some files weren't removed from the new package (they would not be deleted from my system), or is there a way to just tell pacman something IS installed without installing it ? Or can I find the "old" packages somewhere or in pacman's cache ?

Btw, here is pacman's log:

[joan ~] $ sudo pacman -Syu
Mot de passe : 
:: Synchronisation des bases de données de paquets...
 catalyst est à jour;
 core                                                                                37,9K  507,3K/s 00:00:00 [#################################################################] 100%
 extra                                                                              467,1K 1222,5K/s 00:00:00 [#################################################################] 100%
 community                                                                          440,2K 1507,8K/s 00:00:00 [#################################################################] 100%
 multilib                                                                            24,9K  459,3K/s 00:00:00 [#################################################################] 100%
:: Début de la mise à jour complète du système...
Résolution des dépendances...
Avertissement: cycle de dépendances détecté:
Avertissement: lib32-gcc-libs sera installé avant sa dépendance gcc-libs-multilib
Recherche des conflits possibles entre paquets...

Cibles (40): binutils-2.21-8  gstreamer0.10-good-0.10.29-1  libavc1394-0.5.3-3  libiec61883-1.2.0-2  libshout-2.2.2-3  libdv-1.0.0-3  orbit2-2.14.19-1  gtk3-3.0.9-2  gconf-2.32.3-1
             lib32-gcc-libs-4.6.0-5  gcc-libs-multilib-4.6.0-5  libproxy-0.4.6-6  gsettings-desktop-schemas-3.0.1-2  glib-networking-2.28.6.1-2  libsoup-2.34.1-1
             libgnome-keyring-3.0.1-1  libsoup-gnome-2.34.1-1  gstreamer0.10-good-plugins-0.10.29-1  gstreamer0.10-bad-0.10.22-1  libdc1394-2.1.3-1  libmms-0.6-1
             libcdaudio-0.99.12-5  mjpegtools-1.9.0-4  libdvdread-4.1.3-2  libdvdnav-4.1.3-2  soundtouch-1.5.0-1  libass-0.9.11-1  gsm-1.0.13-6  rtmpdump-2.3-3  libgme-0.6.0-1
             gstreamer0.10-bad-plugins-0.10.22-1  farsight2-0.0.28-1  gcc-4.6.0-5  gmp-5.0.2-1  kbd-1.15.3-1  lzo2-2.05-1  util-linux-2.19.1-2  qemu-0.14.1-1
             telepathy-glib-0.14.6-1  telepathy-farsight-0.0.18-1

Taille totale des paquets (téléchargement):   46,17 Mo
Taille totale des paquets (installation):   258,12 Mo

Procéder à l'installation ? [O/n] 
:: Récupération des paquets du dépôt core...
 binutils-2.21-8-x86_64                                                               3,2M 1551,7K/s 00:00:02 [#################################################################] 100%
 gcc-4.6.0-5-x86_64                                                                  16,8M 1912,3K/s 00:00:09 [#################################################################] 100%
 gmp-5.0.2-1-x86_64                                                                 418,3K 1848,9K/s 00:00:00 [#################################################################] 100%
 kbd-1.15.3-1-x86_64                                                               1003,5K 1813,7K/s 00:00:01 [#################################################################] 100%
 lzo2-2.05-1-x86_64                                                                  73,4K 1967,8K/s 00:00:00 [#################################################################] 100%
 util-linux-2.19.1-2-x86_64                                                        1405,2K 1761,7K/s 00:00:01 [#################################################################] 100%
:: Récupération des paquets du dépôt extra...
 gstreamer0.10-good-0.10.29-1-x86_64                                                959,0K 1810,6K/s 00:00:01 [#################################################################] 100%
 gtk3-3.0.9-2-x86_64                                                                  4,7M 1839,4K/s 00:00:03 [#################################################################] 100%
 gconf-2.32.3-1-x86_64                                                              899,8K 1877,6K/s 00:00:00 [#################################################################] 100%
 libsoup-gnome-2.34.1-1-x86_64                                                        7,4K  486,1K/s 00:00:00 [#################################################################] 100%
 gstreamer0.10-good-plugins-0.10.29-1-x86_64                                        317,8K 1744,4K/s 00:00:00 [#################################################################] 100%
 gstreamer0.10-bad-0.10.22-1-x86_64                                                 852,8K 1847,2K/s 00:00:00 [#################################################################] 100%
 libdc1394-2.1.3-1-x86_64                                                           136,7K 1907,3K/s 00:00:00 [#################################################################] 100%
 libmms-0.6-1-x86_64                                                                 27,6K 1012,9K/s 00:00:00 [#################################################################] 100%
 libcdaudio-0.99.12-5-x86_64                                                         49,7K 1019,3K/s 00:00:00 [#################################################################] 100%
 mjpegtools-1.9.0-4-x86_64                                                          784,9K 1862,7K/s 00:00:00 [#################################################################] 100%
 libdvdread-4.1.3-2-x86_64                                                           58,0K 1271,2K/s 00:00:00 [#################################################################] 100%
 libdvdnav-4.1.3-2-x86_64                                                            86,1K 1949,4K/s 00:00:00 [#################################################################] 100%
 libass-0.9.11-1-x86_64                                                              69,1K 1652,5K/s 00:00:00 [#################################################################] 100%
 gsm-1.0.13-6-x86_64                                                                 32,3K 1124,0K/s 00:00:00 [#################################################################] 100%
 rtmpdump-2.3-3-x86_64                                                              113,0K 1415,7K/s 00:00:00 [#################################################################] 100%
 libgme-0.6.0-1-x86_64                                                              114,4K 1447,6K/s 00:00:00 [#################################################################] 100%
 gstreamer0.10-bad-plugins-0.10.22-1-x86_64                                         419,3K 1641,2K/s 00:00:00 [#################################################################] 100%
Erreur: échec de récupération du fichier 'farsight2-0.0.28-1-x86_64.pkg.tar.xz' depuis mir1.archlinux.fr : Not Found
 farsight2-0.0.28-1-x86_64                                                          219,8K 1125,2K/s 00:00:00 [#################################################################] 100%
^Cemu-0.14.1-1-x86_64                                                                 3,2M 1780,0K/s 00:00:04 [##################-----------------------------------------------]  29%
Interrupt signal received

As you can see, I did a Ctrl-C here and restarted pacman immediately:

[joan ~] $ sudo pacman -Syu
Mot de passe : 
:: Synchronisation des bases de données de paquets...
 catalyst est à jour;
 core                                                                                37,9K  599,0K/s 00:00:00 [#################################################################] 100%
 extra                                                                              467,0K 1312,8K/s 00:00:00 [#################################################################] 100%
 community est à jour;
 multilib                                                                            24,9K 1916,0K/s 00:00:00 [#################################################################] 100%
:: Début de la mise à jour complète du système...
Résolution des dépendances...
Avertissement: cycle de dépendances détecté:
Avertissement: lib32-gcc-libs sera installé avant sa dépendance gcc-libs-multilib
Recherche des conflits possibles entre paquets...

Cibles (18): attr-2.4.46-1  acl-2.2.51-1  binutils-2.21-8  gstreamer0.10-good-0.10.29-1  gstreamer0.10-bad-0.10.22-1  farsight2-0.0.28-2  gcc-4.6.0-5  lib32-gcc-libs-4.6.0-5
             gcc-libs-multilib-4.6.0-5  gmp-5.0.2-1  kbd-1.15.3-1  lzo2-2.05-1  util-linux-2.19.1-2  udev-168-2  mkinitcpio-0.6.12-1  qemu-0.14.1-1  telepathy-glib-0.14.6-1
             telepathy-farsight-0.0.18-1

Taille totale des paquets (téléchargement):   14,25 Mo
Taille totale des paquets (installation):   204,08 Mo

Procéder à l'installation ? [O/n] 
:: Récupération des paquets du dépôt core...
 attr-2.4.46-1-x86_64                                                                63,5K  885,6K/s 00:00:00 [#################################################################] 100%
 acl-2.2.51-1-x86_64                                                                132,4K  200,0K/s 00:00:01 [#################################################################] 100%
 udev-168-2-x86_64                                                                  228,6K 1021,8K/s 00:00:00 [#################################################################] 100%
 mkinitcpio-0.6.12-1-any                                                             18,4K 1818,5K/s 00:00:00 [#################################################################] 100%
:: Récupération des paquets du dépôt extra...
 farsight2-0.0.28-2-x86_64                                                          219,8K 1582,9K/s 00:00:00 [#################################################################] 100%
 qemu-0.14.1-1-x86_64                                                                11,0M    2,6M/s 00:00:04 [#################################################################] 100%
 telepathy-glib-0.14.6-1-x86_64                                                    1119,7K 1860,9K/s 00:00:01 [#################################################################] 100%
 telepathy-farsight-0.0.18-1-x86_64                                                  43,1K 1822,7K/s 00:00:00 [#################################################################] 100%
:: Récupération des paquets du dépôt multilib...
 lib32-gcc-libs-4.6.0-5-x86_64                                                      727,5K 1931,0K/s 00:00:00 [#################################################################] 100%
 gcc-libs-multilib-4.6.0-5-x86_64                                                   748,3K 1944,7K/s 00:00:00 [#################################################################] 100%
(18/18) vérification de l'intégrité des paquets                                                               [#################################################################] 100%
(18/18) Analyse des conflits entre fichiers                                                                   [#################################################################] 100%
( 1/18) Mise à jour de attr                                                                                   [#################################################################] 100%
( 2/18) Mise à jour de acl                                                                                    [#################################################################] 100%
( 3/18) Mise à jour de binutils                                                                               [#################################################################] 100%
( 4/18) Installation de gstreamer0.10-good                                                                    [#################################################################] 100%
( 5/18) Installation de gstreamer0.10-bad                                                                     [#################################################################] 100%
( 6/18) Mise à jour de farsight2                                                                              [#################################################################] 100%
Nouvelles dépendances optionnelles pour farsight2
    gstreamer0.10-ugly-plugins: h264 codec
( 7/18) Mise à jour de gcc                                                                                    [#################################################################] 100%
( 8/18) Mise à jour de lib32-gcc-libs                                                                         [#################################################################] 100%
( 9/18) Mise à jour de gcc-libs-multilib                                                                      [#################################################################] 100%
(10/18) Mise à jour de gmp                                                                                    [#################################################################] 100%
(11/18) Mise à jour de kbd                                                                                    [#################################################################] 100%
(12/18) Mise à jour de lzo2                                                                                   [#################################################################] 100%
(13/18) Mise à jour de util-linux                                                                             [#################################################################] 100%
(14/18) Mise à jour de udev                                                                                   [#################################################################] 100%
(15/18) Mise à jour de mkinitcpio                                                                             [#################################################################] 100%
(16/18) Mise à jour de qemu                                                                                   [#################################################################] 100%
>>> PLEASE READ FOR KVM USAGE!
>>>  Load the correct KVM module, you will need a KVM capable CPU!
>>>  Add yourself to the group 'kvm'.
>>>  Use 'qemu -enable-kvm' to use KVM.

(17/18) Mise à jour de telepathy-glib                                                                         [#################################################################] 100%
(18/18) Mise à jour de telepathy-farsight                                                                     [#################################################################] 100%

Here the update finished, but I saw some packages were not mentionned although they were before... so I verified for gtk3:

[joan ~] $ pacman -Qi gtk3
Erreur: paquet "gtk3" introuvable
[joan ~] $ pacman -Si gtk3
Dépôt                 : extra
Nom                   : gtk3
Version               : 3.0.9-2
URL                   : [url]http://www.gtk.org[/url]/
Licences              : LGPL
Groupes               : --
Fournit               : --
Dépend de             : atk  cairo  gtk-update-icon-cache  gnutls  krb5  libcups  libxcursor  libxinerama  libxrandr  libxi  libxcomposite  libxdamage  pango  shared-mime-info
Dépendances opt.      : --
Est en conflit avec   : --
Remplace              : --
A télécharger         : 4802,61 K
Taille (installé)     : 32536,00 K
Paqueteur             : Stéphane Gaudreault <stephane@archlinux.org>
Architecture          : x86_64
Compilé le            : mer. 04 mai 2011 16:26:16 CEST
somme MD5             : 3d65e7dd0107b8a840f32116409408f8
Description           : The GTK+ Toolkit (v3)

[joan ~] $ pacman -Qi gtk3
Erreur: paquet "gtk3" introuvable

I thought it was strange, and decided to start another update:

[joan ~] $ sudo pacman -Syu
:: Synchronisation des bases de données de paquets...
 catalyst est à jour;
 core est à jour;
 extra est à jour;
 community est à jour;
 multilib est à jour;
:: Début de la mise à jour complète du système...
 il n'y a rien à faire

But nothing happened, so I checked some other package mentionned in the aborted update.

[joan ~] $ pacman -Qi gsm
Erreur: paquet "gsm" introuvable
[joan ~] $ pacman -Si gsm
Dépôt                 : extra
Nom                   : gsm
Version               : 1.0.13-6
URL                   : [url]http://www.quut.com/gsm/[/url]
Licences              : custom
Groupes               : --
Fournit               : --
Dépend de             : glibc
Dépendances opt.      : --
Est en conflit avec   : --
Remplace              : --
A télécharger         :  32,26 K
Taille (installé)     : 156,00 K
Paqueteur             : Jan de Groot <jgc@archlinux.org>
Architecture          : x86_64
Compilé le            : sam. 20 nov. 2010 11:03:41 CET
somme MD5             : f358aead1b6b631218026a56354075b5
Description           : Shared libraries for GSM 06.10 lossy speech compression

[joan ~] $ 

Same here, package is not found in my system, although pacman wanted to update it in the aborted upgrade.

Thanks for your help !

Last edited by Fififox (2011-05-18 15:56:47)

Offline

#3 2011-05-17 20:31:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Ctrl-C during package download made them "disappear"

Please edit your post and use [ code ] tags instead of [ quote ] - it makes it easier to view your post https://bbs.archlinux.org/help.php#bbcode

If you want to post something on the forums, please prepend it with 'LC_MESSAGES=C' so that the messages and errors are in English:

LC_MESSAGES=C pacman -Qi gtk3

Have you tried (re)installing those missing packages?

Last edited by karol (2011-05-17 20:48:19)

Offline

#4 2011-05-18 17:50:10

Fififox
Member
From: France
Registered: 2010-11-30
Posts: 17

Re: [SOLVED] Ctrl-C during package download made them "disappear"

Hi, thanks for your answer !

Sorry for the messages in French, but I hadn't thought I would face any problem as I was just using pacman the way I do everyday... Btw, I changed the tags to [ code ] as you suggested.
The issue is now solved, as this was just me not being confident enough in the way pacman does things... In fact, there must have been some changes in the gstreamer packages, which removed dependencies by splitting things up... Therefore, the first time I updated my system, pacman tried to update the dependencies, but the second time, as the dependencies were not required anymore, it just removed them. At least, that's what I think has happened.

If that can help someone, what I first did was use some grep magic to get the names of the missing packages, then I installed them using the --asdeps flag, and the "pacman -Qdt" to see which were not needed...

Bye !

Offline

Board footer

Powered by FluxBB