[pacman-dev] pacman test-o-rama
Hey all, We'd like to move pacman 3 to [testing] Real Soon (TM). But I just want to make sure we cover all the bases. I'm going to invite everyone interested to IRC for a big ol' test-fest. Feel free to join #archlinux-pacman on freenode (it's an open channel, feel free to join whenever you want). I'd like to run through everything tonight and tomorrow, so we can push this on Wed or so. So if you have something you feel is critical, please join up and let myself (phrakture) or dan (toofishes) know and we can get to working on it. Thanks in advance, Aaron
On 3/19/07, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
Hey all, We'd like to move pacman 3 to [testing] Real Soon (TM). But I just want to make sure we cover all the bases.
I'm going to invite everyone interested to IRC for a big ol' test-fest. Feel free to join #archlinux-pacman on freenode (it's an open channel, feel free to join whenever you want).
I'd like to run through everything tonight and tomorrow, so we can push this on Wed or so. So if you have something you feel is critical, please join up and let myself (phrakture) or dan (toofishes) know and we can get to working on it.
Thanks in advance, Aaron
Found one bug today while doing some packaging- makepkg -Ssr seemed to not remove dependencies after building. This needs some further investigation, the nicotine PKGBUILD is a good one to experiment with (and the one I broke it with). -Dan
On 3/19/07, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
Hey all, We'd like to move pacman 3 to [testing] Real Soon (TM). But I just want to make sure we cover all the bases.
I'm going to invite everyone interested to IRC for a big ol' test-fest. Feel free to join #archlinux-pacman on freenode (it's an open channel, feel free to join whenever you want).
I'd like to run through everything tonight and tomorrow, so we can push this on Wed or so. So if you have something you feel is critical, please join up and let myself (phrakture) or dan (toofishes) know and we can get to working on it.
Grr, another bug: Targets: git-1.5.0.5-1 :: Retrieving packages from custom... git 2.9M 134.8M/s 00:00:00 [---------------------] 100% checking package integrity... done. cleaning up... done. (1/1) checking for file conflicts [---------------------] 100% error: could not prepare transaction error: failed to commit transaction (conflicting files) git: /usr/lib/perl5/site_perl/current/Error.pm exists in filesystem errors occurred, no packages were upgraded. Here is some other stuff: $ pacman -Qo /usr/lib/perl5/site_perl/current/Error.pm error: No package owns /usr/lib/perl5/site_perl/current/Error.pm $ pacman -Ql git (the old version) ... git /usr/lib/perl5/site_perl/5.8.8/Error.pm git /usr/lib/perl5/site_perl/5.8.8/Git.pm ... $ ll /usr/lib/perl5/site_perl/ total 4.0K lrwxrwxrwx 1 root root 7 2006-05-23 11:09 5.8.0 -> current lrwxrwxrwx 1 root root 7 2006-05-23 11:09 5.8.1 -> current lrwxrwxrwx 1 root root 7 2006-05-23 11:09 5.8.2 -> current lrwxrwxrwx 1 root root 7 2006-05-23 11:09 5.8.3 -> current lrwxrwxrwx 1 root root 7 2006-05-23 11:09 5.8.4 -> current lrwxrwxrwx 1 root root 7 2006-05-23 11:09 5.8.5 -> current lrwxrwxrwx 1 root root 7 2006-05-23 11:09 5.8.6 -> current lrwxrwxrwx 1 root root 7 2006-05-23 11:09 5.8.7 -> current lrwxrwxrwx 1 root root 7 2006-05-24 17:37 5.8.8 -> current drwxr-xr-x 6 root root 4.0K 2007-03-13 16:25 current So this goes back to those stat/lstat issues. I don't have a box with pacman 2.9.8 that is easy to test this on, but I'm guessing it doesn't have these problems. I'm guessing we need to do something like this during conflict checking- stat directories, but lstat files? I could be way off though. -Dan
On Tuesday 20 March 2007 00:05:57 Aaron Griffin wrote:
Hey all, We'd like to move pacman 3 to [testing] Real Soon (TM). But I just want to make sure we cover all the bases.
I'm going to invite everyone interested to IRC for a big ol' test-fest. Feel free to join #archlinux-pacman on freenode (it's an open channel, feel free to join whenever you want).
I'd like to run through everything tonight and tomorrow, so we can push this on Wed or so. So if you have something you feel is critical, please join up and let myself (phrakture) or dan (toofishes) know and we can get to working on it.
Thanks in advance, Aaron
_______________________________________________ pacman-dev mailing list pacman-dev@archlinux.org http://www.archlinux.org/mailman/listinfo/pacman-dev
Maybe another bug... I installed fortune-mod-homer today: [root@laptop ~]# pacman -S fortune-mod-homer resolving dependencies... done. looking for inter-conflicts... done. Targets: recode-3.6-2 fortune-mod-1.99.1-3 fortune-mod-homer-20011112-1 Total Package Size: 3.26 MB Proceed with installation? [Y/n] checking package integrity... done. cleaning up... done. (3/3) checking for file conflicts [###########################################################################################] 100% (1/3) installing recode [###########################################################################################] 100% (2/3) installing fortune-mod [###########################################################################################] 100% (3/3) installing fortune-mod-homer [###########################################################################################] 100% ------------------------------------------------------------------------------------- After a while I deinstalled it again: [root@laptop ~]# pacman -Rscn fortune-mod-homer checking dependencies... done. Targets: fortune-mod-homer fortune-mod Do you want to remove these packages? [Y/n] (1/2) removing fortune-mod-homer [###########################################################################################] 100% As you can see not all packages are selected, and only one package is actually deinstalled. ------------------------------------------------------------------------------------- Now I try to deinstall the package "recode": [root@laptop ~]# pacman -Rscn recode checking dependencies... error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping This will be printed infinite so I have to terminate pacman. ------------------------------------------------------------------------------------- Now I reinstall fortune-mod-homer again: [root@laptop ~]# pacman -Sf fortune-mod-homer resolving dependencies... done. looking for inter-conflicts... done. Targets: fortune-mod-1.99.1-3 fortune-mod-homer-20011112-1 Total Package Size: 1.81 MB Proceed with installation? [Y/n] checking package integrity... done. cleaning up... done. (1/2) installing fortune-mod [###########################################################################################] 100% (2/2) installing fortune-mod-homer [###########################################################################################] 100% ------------------------------------------------------------------------------------- ... and then deinstall "recode": [root@laptop ~]# pacman -Rscn recode checking dependencies... done. Targets: fortune-mod-homer fortune-mod recode Do you want to remove these packages? [Y/n] (1/3) removing fortune-mod-homer [###########################################################################################] 100% (2/3) removing fortune-mod [###########################################################################################] 100% (3/3) removing recode [###########################################################################################] 100% Now everything is removed.... I guess this is no normal behaviour so I thought I post this here.... Andi -- ICQ: 9450091 Skype: thegrudge_2 Arch Linux homepage: http://www.the-grudge.net
One more question: What does "forcing update" mean? I did a full update today: [root@laptop ~]# pacman -Syuw :: Starting full system upgrade... warning: apr-util: forcing upgrade to version 1.2.8-2 warning: pacman: local (3.0.0-1) is newer than current (2.9.8-4) warning: tunepimp: forcing upgrade to version 0.5.3-2 warning: wxgtk: forcing upgrade to version 2.8.0.1-2 warning: wxpython: forcing upgrade to version 2.8.0.1-1 resolving dependencies... done. Andi -- ICQ: 9450091 Skype: thegrudge_2 Arch Linux homepage: http://www.the-grudge.net
2007/3/21, Andi Clemens <andi.clemens@gmx.net>:
On Tuesday 20 March 2007 00:05:57 Aaron Griffin wrote:
Hey all, We'd like to move pacman 3 to [testing] Real Soon (TM). But I just want to make sure we cover all the bases.
I'm going to invite everyone interested to IRC for a big ol' test-fest. Feel free to join #archlinux-pacman on freenode (it's an open channel, feel free to join whenever you want).
I'd like to run through everything tonight and tomorrow, so we can push this on Wed or so. So if you have something you feel is critical, please join up and let myself (phrakture) or dan (toofishes) know and we can get to working on it.
Thanks in advance, Aaron
_______________________________________________ pacman-dev mailing list pacman-dev@archlinux.org http://www.archlinux.org/mailman/listinfo/pacman-dev
Maybe another bug... I installed fortune-mod-homer today:
[root@laptop ~]# pacman -S fortune-mod-homer resolving dependencies... done. looking for inter-conflicts... done.
Targets: recode-3.6-2 fortune-mod-1.99.1-3 fortune-mod-homer-20011112-1
Total Package Size: 3.26 MB
Proceed with installation? [Y/n] checking package integrity... done. cleaning up... done. (3/3) checking for file conflicts [###########################################################################################] 100% (1/3) installing recode [###########################################################################################] 100% (2/3) installing fortune-mod [###########################################################################################] 100% (3/3) installing fortune-mod-homer [###########################################################################################] 100%
-------------------------------------------------------------------------------------
After a while I deinstalled it again:
[root@laptop ~]# pacman -Rscn fortune-mod-homer checking dependencies... done.
Targets: fortune-mod-homer fortune-mod
Do you want to remove these packages? [Y/n]
(1/2) removing fortune-mod-homer [###########################################################################################] 100%
As you can see not all packages are selected, and only one package is actually deinstalled.
-------------------------------------------------------------------------------------
Now I try to deinstall the package "recode":
[root@laptop ~]# pacman -Rscn recode checking dependencies... error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping error: could not find fortune-mod in database -- skipping
This will be printed infinite so I have to terminate pacman.
-------------------------------------------------------------------------------------
Now I reinstall fortune-mod-homer again:
[root@laptop ~]# pacman -Sf fortune-mod-homer resolving dependencies... done. looking for inter-conflicts... done.
Targets: fortune-mod-1.99.1-3 fortune-mod-homer-20011112-1
Total Package Size: 1.81 MB
Proceed with installation? [Y/n] checking package integrity... done. cleaning up... done. (1/2) installing fortune-mod [###########################################################################################] 100% (2/2) installing fortune-mod-homer [###########################################################################################] 100%
-------------------------------------------------------------------------------------
... and then deinstall "recode":
[root@laptop ~]# pacman -Rscn recode checking dependencies... done.
Targets: fortune-mod-homer fortune-mod recode
Do you want to remove these packages? [Y/n]
(1/3) removing fortune-mod-homer [###########################################################################################] 100% (2/3) removing fortune-mod [###########################################################################################] 100% (3/3) removing recode [###########################################################################################] 100%
Now everything is removed....
I guess this is no normal behaviour so I thought I post this here....
It happened to me before, but it was due to corrupted db by pacman2 or one of early pacman3 versions. Can you reproduce it after this?: rm -rf /var/pacman/lib/{current,extra} pacman -Sy -- Roman Kyrylych (Роман Кирилич)
It happened to me before, but it was due to corrupted db by pacman2 or one of early pacman3 versions.
Can you reproduce it after this?: rm -rf /var/pacman/lib/{current,extra} pacman -Sy
I guess you mean /var/lib/pacman/.... ? Is it safe to delete all directories within that dir? I will make a copy and try it out... Andi -- ICQ: 9450091 Skype: thegrudge_2 Arch Linux homepage: http://www.the-grudge.net
2007/3/21, Andi Clemens <andi.clemens@gmx.net>:
It happened to me before, but it was due to corrupted db by pacman2 or one of early pacman3 versions.
Can you reproduce it after this?: rm -rf /var/pacman/lib/{current,extra} pacman -Sy
I guess you mean /var/lib/pacman/.... ?
Is it safe to delete all directories within that dir? I will make a copy and try it out...
Yes, /var/lib/pacman. No, it's not safe do delete _all_ directories there. DO NOT delete /var/lib/pacman/local !!! -- Roman Kyrylych (Роман Кирилич)
On Wednesday 21 March 2007 12:10:03 Roman Kyrylych wrote:
2007/3/21, Andi Clemens <andi.clemens@gmx.net>:
It happened to me before, but it was due to corrupted db by pacman2 or one of early pacman3 versions.
Can you reproduce it after this?: rm -rf /var/pacman/lib/{current,extra} pacman -Sy
I guess you mean /var/lib/pacman/.... ?
Is it safe to delete all directories within that dir? I will make a copy and try it out...
Yes, /var/lib/pacman. No, it's not safe do delete _all_ directories there. DO NOT delete /var/lib/pacman/local !!!
Yeah I realized that! ;-) Now I deleted everything except "local"... will try to reproduce my error now. Andi -- ICQ: 9450091 Skype: thegrudge_2 Arch Linux homepage: http://www.the-grudge.net
On Wednesday 21 March 2007 12:10:03 Roman Kyrylych wrote:
2007/3/21, Andi Clemens <andi.clemens@gmx.net>:
It happened to me before, but it was due to corrupted db by pacman2 or one of early pacman3 versions.
Can you reproduce it after this?: rm -rf /var/pacman/lib/{current,extra} pacman -Sy
I guess you mean /var/lib/pacman/.... ?
Is it safe to delete all directories within that dir? I will make a copy and try it out...
Yes, /var/lib/pacman. No, it's not safe do delete _all_ directories there. DO NOT delete /var/lib/pacman/local !!!
Ok, still the same issue: [root@laptop pacman]# pacman -S twisted resolving dependencies... done. looking for inter-conflicts... done. Targets: pycrypto-2.0.1-2 zope-interface-3.3.0-2 twisted-2.5.0-2 Total Package Size: 13.70 MB Proceed with installation? [Y/n] checking package integrity... done. cleaning up... done. (3/3) checking for file conflicts [###########################################################################################] 100% (1/3) installing pycrypto [###########################################################################################] 100% (2/3) installing zope-interface [###########################################################################################] 100% (3/3) installing twisted [###########################################################################################] 100% --------------------------------------------------------------------------- [root@laptop pacman]# pacman -Rscn twisted checking dependencies... done. Targets: twisted zope-interface pycrypto Do you want to remove these packages? [Y/n] (1/3) removing twisted [###########################################################################################] 100% It's not working, I can only reinstall all these packages and then remove them one by one: pacman -R twisted pacman -R zope-interface pacman -R pycrypto Andi -- ICQ: 9450091 Skype: thegrudge_2 Arch Linux homepage: http://www.the-grudge.net
On 3/21/07, Andi Clemens <andi.clemens@gmx.net> wrote:
On Wednesday 21 March 2007 12:10:03 Roman Kyrylych wrote:
2007/3/21, Andi Clemens <andi.clemens@gmx.net>:
It happened to me before, but it was due to corrupted db by pacman2 or one of early pacman3 versions.
Can you reproduce it after this?: rm -rf /var/pacman/lib/{current,extra} pacman -Sy
I guess you mean /var/lib/pacman/.... ?
Is it safe to delete all directories within that dir? I will make a copy and try it out...
Yes, /var/lib/pacman. No, it's not safe do delete _all_ directories there. DO NOT delete /var/lib/pacman/local !!!
Ok, still the same issue:
[root@laptop pacman]# pacman -S twisted resolving dependencies... done. looking for inter-conflicts... done.
Targets: pycrypto-2.0.1-2 zope-interface-3.3.0-2 twisted-2.5.0-2
Total Package Size: 13.70 MB
Proceed with installation? [Y/n] checking package integrity... done. cleaning up... done. (3/3) checking for file conflicts [###########################################################################################] 100% (1/3) installing pycrypto [###########################################################################################] 100% (2/3) installing zope-interface [###########################################################################################] 100% (3/3) installing twisted [###########################################################################################] 100%
---------------------------------------------------------------------------
[root@laptop pacman]# pacman -Rscn twisted checking dependencies... done.
Targets: twisted zope-interface pycrypto
Do you want to remove these packages? [Y/n]
(1/3) removing twisted [###########################################################################################] 100%
It's not working, I can only reinstall all these packages and then remove them one by one:
pacman -R twisted pacman -R zope-interface pacman -R pycrypto
I think this was fixed in CVS? Can you confirm, Aaron? But according to the logs, this was fixed in RC2. (lib/libalpm/deps.c) * Fixed an error with 'cascade' removal due to creation of a new pmpkg_t struct (and thus not copying pertinent data w.r.t. reading package files) And guys, when you tell us a bug- PLEASE tell us what version you are using as best you can. RC1, RC2, CVS compiled on this date,etc. -Dan
I think this was fixed in CVS? Can you confirm, Aaron? But according to the logs, this was fixed in RC2. (lib/libalpm/deps.c)
* Fixed an error with 'cascade' removal due to creation of a new pmpkg_t struct (and thus not copying pertinent data w.r.t. reading package files)
And guys, when you tell us a bug- PLEASE tell us what version you are using as best you can. RC1, RC2, CVS compiled on this date,etc.
-Dan
_______________________________________________ pacman-dev mailing list pacman-dev@archlinux.org http://www.archlinux.org/mailman/listinfo/pacman-dev
I'm using pacman-3.0.0-rc2. I downgraded pacman now, deleted the database, created a new one, installed 3.0.0-rc2 again, deleted db, created new one and now it seems to work... Strange... Andi -- ICQ: 9450091 Skype: thegrudge_2 Arch Linux homepage: http://www.the-grudge.net
On Wednesday 21 March 2007 12:05:30 Andi Clemens wrote:
It happened to me before, but it was due to corrupted db by pacman2 or one of early pacman3 versions.
Can you reproduce it after this?: rm -rf /var/pacman/lib/{current,extra} pacman -Sy
I guess you mean /var/lib/pacman/.... ?
Is it safe to delete all directories within that dir? I will make a copy and try it out...
Andi
Ok now I deleted the content of "/var/lib/pacman" and pacman seems to be broken! Wenn I do a "pacman -Syuw", it says my system is up to date, but I know that I had to install 200 MB of new updates... so I guess this was a bad idea? Good for me I did a backup... Andi -- ICQ: 9450091 Skype: thegrudge_2 Arch Linux homepage: http://www.the-grudge.net
On Tuesday 20 March 2007 00:05:57 Aaron Griffin wrote:
Hey all, We'd like to move pacman 3 to [testing] Real Soon (TM). But I just want to make sure we cover all the bases.
I'm going to invite everyone interested to IRC for a big ol' test-fest. Feel free to join #archlinux-pacman on freenode (it's an open channel, feel free to join whenever you want).
I'd like to run through everything tonight and tomorrow, so we can push this on Wed or so. So if you have something you feel is critical, please join up and let myself (phrakture) or dan (toofishes) know and we can get to working on it.
Thanks in advance, Aaron
_______________________________________________ pacman-dev mailing list pacman-dev@archlinux.org http://www.archlinux.org/mailman/listinfo/pacman-dev
Another deinstall issue: [root@laptop ~]# pacman -Rscn twisted checking dependencies... done. Targets: twisted zope-interface pycrypto Do you want to remove these packages? [Y/n] (1/3) removing twisted [###########################################################################################] 100% --------------------------------------------------------------------------------------- Only twisted is removed, the other two packages are only deleted in the database. I have to reinstall twisted (forced) and the other 2 packages although they have not been removed: [root@laptop ~]# pacman -Sf twisted resolving dependencies... done. looking for inter-conflicts... done. Targets: pycrypto-2.0.1-2 zope-interface-3.3.0-2 twisted-2.5.0-2 Total Package Size: 13.70 MB Proceed with installation? [Y/n] checking package integrity... done. cleaning up... done. (1/3) installing pycrypto [###########################################################################################] 100% (2/3) installing zope-interface [###########################################################################################] 100% (3/3) installing twisted [###########################################################################################] 100% --------------------------------------------------------------------------------------- I can't deinstall all packages, it is not possible: [root@laptop ~]# pacman -Rscn zope-interface checking dependencies... done. Targets: twisted pycrypto zope-interface Do you want to remove these packages? [Y/n] (1/3) removing twisted [###########################################################################################] 100% (3/3) removing zope-interface [###########################################################################################] 100% [root@laptop ~]# pacman -Rscn pycrypto checking dependencies... done. Targets: twisted zope-interface pycrypto Do you want to remove these packages? [Y/n] (1/3) removing twisted [###########################################################################################] 100% (3/3) removing pycrypto [###########################################################################################] 100% --------------------------------------------------------------------------------------- It will not remove all 3 packages, so I guess this is a bug in pacman3. Andi -- ICQ: 9450091 Skype: thegrudge_2 Arch Linux homepage: http://www.the-grudge.net
participants (4)
-
Aaron Griffin
-
Andi Clemens
-
Dan McGee
-
Roman Kyrylych