You are not logged in.

#1 2013-03-15 23:52:17

banshee28
Member
Registered: 2008-10-18
Posts: 336

[solved]Pacman/qt problems

Ok, not sure what happened since I had the /usr/lib issue working, but i think qt4 broke it. I did read about it in the homepage, but not sure whats really going on here.

$ ls -al /usr/
total 280
drwxr-xr-x  10 root root  4096 Feb 11 06:02 .
drwxr-xr-x  20 root root  4096 Feb 27 21:26 ..
drwxr-xr-x   3 root root 61440 Mar  4 07:41 bin
drwxr-xr-x 337 root root 40960 Mar  4 07:41 include
drwxr-xr-x 143 root root 98304 Mar  4 07:41 lib
drwxr-xr-x  25 root root 36864 Feb 27 07:25 lib32
lrwxrwxrwx   1 root root     3 Jan 27 02:29 lib64 -> lib
drwxr-xr-x  11 root root  4096 Jan 27 02:29 local
drwxr-xr-x   2 root root 12288 Feb 25 12:24 sbin
drwxr-xr-x 165 root root  4096 Feb 27 07:25 share
drwxr-xr-x   4 root root  4096 Feb 28 07:10 src

Under /usr/lib, it looks like half are links and the other half are not.
When I run packman, here is what i get

error: could not open file /var/lib/pacman/local/qt-4.8.4-3/desc: No such file or directory

And of course there is no 'desc' under there:

$ ls -la /var/lib/pacman/local/qt-4.8.4-3/
total 48
drwxr-xr-x   2 root root  4096 Feb  5 19:17 .
drwxr-xr-x 675 root root 36864 Mar  4 07:41 ..
-rw-r--r--   1 root root   186 Feb  5 06:28 install

I even tried to remove qt but that did not work...LOL
Then running a pacman -Syu and even ignoring qt,qt4, I get this error and cant update anything

error: could not open file /var/lib/pacman/local/qt-4.8.4-3/desc: No such file or directory
error: failed to prepare transaction (unexpected error)
:: Starting full system upgrade...
qt-4.8.4-3: description file is missing
qt-4.8.4-3: file list is missing

Last edited by banshee28 (2013-03-22 20:17:13)


Arch64, AMD64, LXDE

Offline

#2 2013-03-16 00:20:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved]Pacman/qt problems


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-03-16 14:04:33

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [solved]Pacman/qt problems

jasonwryan wrote:

If you are referring to changing my mirrors and running a pacman -Syyu, I did that but it did not change anything. I used reflector to change my top 5 mirrors.
I still get this trying to update even if I "ignore" qt and qt4.

resolving dependencies...
error: could not open file /var/lib/pacman/local/qt-4.8.4-3/desc: No such file or directory
looking for inter-conflicts...
:: qt4 and qt are in conflict. Remove qt? [y/N] y
:: lib32-qt4 and lib32-qt are in conflict (lib32-qtwebkit). Remove lib32-qt? [y/N] y
warning: could not fully load metadata for package qt-4.8.4-3
error: failed to prepare transaction (could not satisfy dependencies)
:: libdbusmenu-qt: requires qt
:: polkit-qt: requires qt
:: poppler-qt: requires qt
:: qtwebkit: requires qt
qt-4.8.4-3: description file is missing
qt-4.8.4-3: file list is missing

Full system update ignoring qt:

$ sudo yaourt -Syu --ignore qt4,qt
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 repo-ck is up to date
error: could not open file /var/lib/pacman/local/qt-4.8.4-3/desc: No such file or directory
error: failed to prepare transaction (unexpected error)
:: Starting full system upgrade...
qt-4.8.4-3: description file is missing
qt-4.8.4-3: file list is missing

Arch64, AMD64, LXDE

Offline

#4 2013-03-16 14:58:01

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [solved]Pacman/qt problems

Looks like your pacman database got messed up somehow. This section of the wiki is meant for restoring a more total loss, but you could probably adapt it for just the qt package

Offline

#5 2013-03-16 23:21:32

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [solved]Pacman/qt problems

mcmillan wrote:

Looks like your pacman database got messed up somehow. This section of the wiki is meant for restoring a more total loss, but you could probably adapt it for just the qt package

Thanks, did that but got stuck on the alias part...It did not seem to work, so I did as much as I could from there and still have issues. Here is what i get now doing a full sys update. I did manage to "reinstall all packages" following the wiki restore page.

error: failed to commit transaction (conflicting files)
qt4: /usr/lib/libQt3Support.prl exists in filesystem
qt4: /usr/lib/libQt3Support.so exists in filesystem
qt4: /usr/lib/libQt3Support.so.4 exists in filesystem
qt4: /usr/lib/libQt3Support.so.4.8 exists in filesystem
qt4: /usr/lib/libQt3Support.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtCLucene.prl exists in filesystem
qt4: /usr/lib/libQtCLucene.so exists in filesystem
qt4: /usr/lib/libQtCLucene.so.4 exists in filesystem
qt4: /usr/lib/libQtCLucene.so.4.8 exists in filesystem
qt4: /usr/lib/libQtCLucene.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtCore.prl exists in filesystem
qt4: /usr/lib/libQtCore.so exists in filesystem
qt4: /usr/lib/libQtCore.so.4 exists in filesystem
qt4: /usr/lib/libQtCore.so.4.8 exists in filesystem
qt4: /usr/lib/libQtCore.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtDBus.prl exists in filesystem
qt4: /usr/lib/libQtDBus.so exists in filesystem
qt4: /usr/lib/libQtDBus.so.4 exists in filesystem
qt4: /usr/lib/libQtDBus.so.4.8 exists in filesystem
qt4: /usr/lib/libQtDBus.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtDeclarative.prl exists in filesystem
qt4: /usr/lib/libQtDeclarative.so exists in filesystem
qt4: /usr/lib/libQtDeclarative.so.4 exists in filesystem
qt4: /usr/lib/libQtDeclarative.so.4.8 exists in filesystem
qt4: /usr/lib/libQtDeclarative.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtDesigner.prl exists in filesystem
qt4: /usr/lib/libQtDesigner.so exists in filesystem
qt4: /usr/lib/libQtDesigner.so.4 exists in filesystem
qt4: /usr/lib/libQtDesigner.so.4.8 exists in filesystem
qt4: /usr/lib/libQtDesigner.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtDesignerComponents.prl exists in filesystem
qt4: /usr/lib/libQtDesignerComponents.so exists in filesystem
qt4: /usr/lib/libQtDesignerComponents.so.4 exists in filesystem
qt4: /usr/lib/libQtDesignerComponents.so.4.8 exists in filesystem
qt4: /usr/lib/libQtDesignerComponents.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtGui.prl exists in filesystem
qt4: /usr/lib/libQtGui.so exists in filesystem
qt4: /usr/lib/libQtGui.so.4 exists in filesystem
qt4: /usr/lib/libQtGui.so.4.8 exists in filesystem
qt4: /usr/lib/libQtGui.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtHelp.prl exists in filesystem
qt4: /usr/lib/libQtHelp.so exists in filesystem
qt4: /usr/lib/libQtHelp.so.4 exists in filesystem
qt4: /usr/lib/libQtHelp.so.4.8 exists in filesystem
qt4: /usr/lib/libQtHelp.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtMultimedia.prl exists in filesystem
qt4: /usr/lib/libQtMultimedia.so exists in filesystem
qt4: /usr/lib/libQtMultimedia.so.4 exists in filesystem
qt4: /usr/lib/libQtMultimedia.so.4.8 exists in filesystem
qt4: /usr/lib/libQtMultimedia.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtNetwork.prl exists in filesystem
qt4: /usr/lib/libQtNetwork.so exists in filesystem
qt4: /usr/lib/libQtNetwork.so.4 exists in filesystem
qt4: /usr/lib/libQtNetwork.so.4.8 exists in filesystem
qt4: /usr/lib/libQtNetwork.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtOpenGL.prl exists in filesystem
qt4: /usr/lib/libQtOpenGL.so exists in filesystem
qt4: /usr/lib/libQtOpenGL.so.4 exists in filesystem
qt4: /usr/lib/libQtOpenGL.so.4.8 exists in filesystem
qt4: /usr/lib/libQtOpenGL.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtScript.prl exists in filesystem
qt4: /usr/lib/libQtScript.so exists in filesystem
qt4: /usr/lib/libQtScript.so.4 exists in filesystem
qt4: /usr/lib/libQtScript.so.4.8 exists in filesystem
qt4: /usr/lib/libQtScript.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtScriptTools.prl exists in filesystem
qt4: /usr/lib/libQtScriptTools.so exists in filesystem
qt4: /usr/lib/libQtScriptTools.so.4 exists in filesystem
qt4: /usr/lib/libQtScriptTools.so.4.8 exists in filesystem
qt4: /usr/lib/libQtScriptTools.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtSql.prl exists in filesystem
qt4: /usr/lib/libQtSql.so exists in filesystem
qt4: /usr/lib/libQtSql.so.4 exists in filesystem
qt4: /usr/lib/libQtSql.so.4.8 exists in filesystem
qt4: /usr/lib/libQtSql.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtSvg.prl exists in filesystem
qt4: /usr/lib/libQtSvg.so exists in filesystem
qt4: /usr/lib/libQtSvg.so.4 exists in filesystem
qt4: /usr/lib/libQtSvg.so.4.8 exists in filesystem
qt4: /usr/lib/libQtSvg.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtTest.prl exists in filesystem
qt4: /usr/lib/libQtTest.so exists in filesystem
qt4: /usr/lib/libQtTest.so.4 exists in filesystem
qt4: /usr/lib/libQtTest.so.4.8 exists in filesystem
qt4: /usr/lib/libQtTest.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtUiTools.a exists in filesystem
qt4: /usr/lib/libQtUiTools.prl exists in filesystem
qt4: /usr/lib/libQtXml.prl exists in filesystem
qt4: /usr/lib/libQtXml.so exists in filesystem
qt4: /usr/lib/libQtXml.so.4 exists in filesystem
qt4: /usr/lib/libQtXml.so.4.8 exists in filesystem
qt4: /usr/lib/libQtXml.so.4.8.4 exists in filesystem
qt4: /usr/lib/libQtXmlPatterns.prl exists in filesystem
qt4: /usr/lib/libQtXmlPatterns.so exists in filesystem
qt4: /usr/lib/libQtXmlPatterns.so.4 exists in filesystem
qt4: /usr/lib/libQtXmlPatterns.so.4.8 exists in filesystem
qt4: /usr/lib/libQtXmlPatterns.so.4.8.4 exists in filesystem
qt4: /usr/lib/pkgconfig/Qt3Support.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtCLucene.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtCore.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtDBus.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtDeclarative.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtDesigner.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtDesignerComponents.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtGui.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtHelp.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtMultimedia.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtNetwork.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtOpenGL.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtScript.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtScriptTools.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtSql.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtSvg.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtTest.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtUiTools.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtXml.pc exists in filesystem
qt4: /usr/lib/pkgconfig/QtXmlPatterns.pc exists in filesystem
Errors occurred, no packages were upgraded.

Full update ignoring qt:

$ sudo yaourt -Syu --ignore qt4,qt
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 repo-ck is up to date
error: failed to prepare transaction (unexpected error)
:: Starting full system upgrade...
qt-4.8.4-3: file list is missing

Last edited by banshee28 (2013-03-16 23:23:10)


Arch64, AMD64, LXDE

Offline

#6 2013-03-16 23:47:59

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [solved]Pacman/qt problems

Since qt4 seems to be the only thing messed up, this seems to be one of the few cases when using

pacman -S --force qt4 

seems the right approach.

Last edited by mcmillan (2013-03-16 23:48:13)

Offline

#7 2013-03-17 00:16:24

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [solved]Pacman/qt problems

mcmillan wrote:

Since qt4 seems to be the only thing messed up, this seems to be one of the few cases when using

pacman -S --force qt4 

seems the right approach.

 sudo pacman -S --force qt4 
resolving dependencies...
looking for inter-conflicts...
:: qt4 and qt are in conflict. Remove qt? [y/N] y
error: could not open file /var/lib/pacman/local/qt-4.8.4-3/files: No such file or directory
warning: could not fully load metadata for package qt-4.8.4-3
error: failed to prepare transaction (could not satisfy dependencies)
:: attica: requires qt
:: grantlee: requires qt
:: lib32-qt: requires qt
:: libdbusmenu-qt: requires qt
:: libqzeitgeist: requires qt
:: mixxx: requires qt>=4.5
:: phonon: requires qt
:: pokerth: requires qt
:: polkit-qt: requires qt
:: poppler-qt: requires qt
:: qca: requires qt
:: qtwebkit: requires qt
:: smplayer: requires qt
:: soprano: requires qt
:: strigi: requires qt
[shane@beckys_pc ~]$ sudo pacman -S --force qt4 
resolving dependencies...
looking for inter-conflicts...
:: qt4 and qt are in conflict. Remove qt? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: qt4 and qt are in conflict

Arch64, AMD64, LXDE

Offline

#8 2013-03-18 01:52:48

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [solved]Pacman/qt problems

Thanks for all the help so far....Any other suggestions? This is my wife's PC, and mine is 98% the exact same install/config/packages, but has no issues. So not sure how this one got messed up?


Arch64, AMD64, LXDE

Offline

#9 2013-03-18 02:38:15

sdh
Member
Registered: 2013-03-17
Posts: 25

Re: [solved]Pacman/qt problems

I have three files under /var/lib/pacman/local/qt4-4.8.4-13/ : desc, files, install. These are missing in your system for some reason. I think if you can restore these somehow (copying same version files from another system?), you'll get it to work.

Offline

#10 2013-03-18 05:52:55

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: [solved]Pacman/qt problems

First fix you qt installation, that means force-reinstall "qt", not "qt4". It should still be in your pacman cache:

pacman -U --force /var/cache/pacman/pkg/qt-4.8.4-3-x86_64.pkg.tar.xz

Then try a regular upgrade with -Syu. There may be some AUR packages interfering which you will have to remove (or temporarily remove/fix the dependency in the pacman-cache) and reinstall afterwards.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#11 2013-03-20 18:28:34

Sebarres
Member
Registered: 2012-01-08
Posts: 15

Re: [solved]Pacman/qt problems

.

Last edited by Sebarres (2013-03-20 18:34:27)

Offline

#12 2013-03-20 23:35:19

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [solved]Pacman/qt problems

progandy wrote:

First fix you qt installation, that means force-reinstall "qt", not "qt4". It should still be in your pacman cache:

pacman -U --force /var/cache/pacman/pkg/qt-4.8.4-3-x86_64.pkg.tar.xz

Then try a regular upgrade with -Syu. There may be some AUR packages interfering which you will have to remove (or temporarily remove/fix the dependency in the pacman-cache) and reinstall afterwards.

I tried this but did not have the pkg there. I guess that got deleted once I started doing the pacman database fix. Not sure where to get it, now that its no longer in the repos? I can also try sdh's suggestion but that looks like qt4 not qt?


Arch64, AMD64, LXDE

Offline

#13 2013-03-21 00:35:31

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: [solved]Pacman/qt problems

banshee28 wrote:
progandy wrote:

First fix you qt installation, that means force-reinstall "qt", not "qt4". It should still be in your pacman cache:

pacman -U --force /var/cache/pacman/pkg/qt-4.8.4-3-x86_64.pkg.tar.xz

Then try a regular upgrade with -Syu. There may be some AUR packages interfering which you will have to remove (or temporarily remove/fix the dependency in the pacman-cache) and reinstall afterwards.

I tried this but did not have the pkg there. I guess that got deleted once I started doing the pacman database fix. Not sure where to get it, now that its no longer in the repos? I can also try sdh's suggestion but that looks like qt4 not qt?

Here you can find older packages for i686 and x86_64: http://arm.konnichi.com/search/index.ph … =1&extra=1


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#14 2013-03-22 20:16:59

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: [solved]Pacman/qt problems

progandy wrote:
banshee28 wrote:
progandy wrote:

First fix you qt installation, that means force-reinstall "qt", not "qt4". It should still be in your pacman cache:

pacman -U --force /var/cache/pacman/pkg/qt-4.8.4-3-x86_64.pkg.tar.xz

Then try a regular upgrade with -Syu. There may be some AUR packages interfering which you will have to remove (or temporarily remove/fix the dependency in the pacman-cache) and reinstall afterwards.

I tried this but did not have the pkg there. I guess that got deleted once I started doing the pacman database fix. Not sure where to get it, now that its no longer in the repos? I can also try sdh's suggestion but that looks like qt4 not qt?

Here you can find older packages for i686 and x86_64: http://arm.konnichi.com/search/index.ph … =1&extra=1

Thanks!!!! This fixed my problems!! It updated fine after that. smile


Arch64, AMD64, LXDE

Offline

Board footer

Powered by FluxBB