Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 16 guests | Time: 11:27
Troubles with upkg and compiz-fusion
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
7 posts found.
 Troubles with upkg and compiz-fusion
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
Sorry, another question: When I wanted to upgrade Paldo with the upkg-upgrade command, it always wanted to install the compiz-fusion extra packages. I was very annoyed by this and deleted the spec-file in /var/cache/upkg/www.paldo.org_paldo/specs/ and the script file assuming that this will help. But unfortunately it did not: Contrariwise upkg does not work anymore:
Code[In neuem Fenster öffnen]
[debianux@paldo-laptop:~]$ upkg-upgrade
Generating script...

Unhandled Exception: System.UnauthorizedAccessException: Access to the path "/var/cache/upkg/www.paldo.org_paldo/specs/compiz-fusion.xml" is denied.
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000]
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
at System.IO.File.Create (System.String path, Int32 bufferSize, FileOptions options, System.Object fileSecurity) [0x00000]
at System.IO.File.Create (System.String path) [0x00000]
at Upkg.XmlSpecification.CachedWebDownload (System.String remotefile, System.String localfile) [0x00000]
at Upkg.XmlSpecification..ctor (System.String file) [0x00000]
at Upkg.Package..ctor (System.String name, Boolean allowZombies) [0x00000]
at Upkg.Package.GetPackage (System.String name, Boolean allowZombies) [0x00000]
at Upkg.ReleaseList.AddRelease (System.String packageName, System.String tag, Boolean allowZombies) [0x00000]
at Upkg.ReleaseList.AddSelectedReleases () [0x00000]
at Upkg.Application.Main (System.String[] args) [0x00000]
Could not generate script!

Could you please help me?
Profile   Private Message
Created: 2008-11-26 14:41 | Modified: 2008-11-26 14:44 by Debianux
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Troubles with upkg and compiz-fusion
Administrator
 
 
 
Posts: 426
Registered: 2004-09-09
You have to run upkg-upgrade as root (e.g. with sudo).

Code[In neuem Fenster öffnen]
rm /var/lib/upkg/packages/compiz-fusion.select
Profile   Private Message   Web
Created: 2008-11-26 14:58
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Troubles with upkg and compiz-fusion
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
Sorry, I am an idiot! But upkg still wants to install compiz-fusion:
Code[In neuem Fenster öffnen]
[debianux@paldo-laptop:~]$ sudo upkg-upgrade
Generating script...
Writing script...
Executing script...
The following extra packages will be installed:
compiz compiz-bcop compiz-fusion-plugins-main compiz-fusion-plugins-extra libcompizconfig compizconfig-backend-gconf Pyrex compizconfig-python ccsm emerald emerald-themes compiz-manager

Do you want to continue? [Y/n]

I always have to say no respectively to enter “n”.
Profile   Private Message
Created: 2008-11-26 15:02 | Modified: 2008-11-26 15:03 by Debianux
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Troubles with upkg and compiz-fusion
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Check what select files you have:

Code[In neuem Fenster öffnen]
ls /var/lib/upkg/packages/*.select > ~/all.select.files

Code[In neuem Fenster öffnen]
ls /var/lib/upkg/packages/c*.select


remove it with

Code[In neuem Fenster öffnen]
sudo rm /var/lib/upkg/packages/PACKAGE_NAME.select


Also clear the cache:

Code[In neuem Fenster öffnen]
sudo rm -rf /var/cache/upkg/*

Profile   Private Message   E-Mail
Created: 2008-11-26 16:51
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Troubles with upkg and compiz-fusion
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
Thank you very much for your help. And please apologize once more my various questions. By the way, do you know why this package was selected?
Profile   Private Message
Created: 2008-11-26 19:57
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Troubles with upkg and compiz-fusion
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
If you install a package you generate a select-file so it will be still installed.

Example: you install smplayer a frontend for mplayer so smplayer gets a select-file. smplayer.xml is in this case the "meta-spec". If you want to uninstall mplayer for example upkg will block this, cos smplayer depend on mplayer. If you delete the select-file and uninstall mplayer smplayer will be broken, cos mplayer is missing. select-files are some kind of protection of upkg.
Profile   Private Message   E-Mail
Created: 2008-11-26 22:01
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Troubles with upkg and compiz-fusion
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
Meritorious technique! Probably I must have made a mistake because I have never wanted to install compiz-fusion.
Profile   Private Message
Created: 2008-11-26 23:33
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a