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? |
|
|
|
|
|
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).
|
|
|
|
|
|
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”. |
|
|
|
|
|
Re: Troubles with upkg and compiz-fusion | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Check what select files you have:
remove it with
Also clear the cache:
|
|
|
|
|
|
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? |
|
|
|
|
|
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. |
|
|
|
|
|
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. |
|
|
|
|
|