Package Search
 
Members: 351 | Topics: 766 | Posts: 3210
We welcome our newest member: Somewhat Reticent
Info
» You aren't logged in, login or registerOnline: No members and 3 guests | Time: 10:53
upkg-upgrade cannot generate script
paldo Support Forum    Upkg    General Discussion
Reply Reply   Subscribe Topic Subscribe Topic
11 posts found.Page: 1 2
 upkg-upgrade cannot generate script
Junior Mitglied
 
 
 
Posts: 26
Registered: 2008-06-15
Whenever I try to use upkg-upgrade, I get:
Code[In neuem Fenster öffnen]
Generating script...

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
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.Package.GetPackage (System.String name) [0x00000]
at Upkg.ReleaseSpecification.ProcessDeps (System.Xml.XmlElement depsElement) [0x00000]
at Upkg.ReleaseSpecification.Process () [0x00000]
at Upkg.Branches.get_Item (System.Object key) [0x00000]
at Upkg.Branches.get_Current () [0x00000]
at Upkg.ReleaseSpecification.ProcessDeps (System.Xml.XmlElement depsElement) [0x00000]
at Upkg.ReleaseSpecification.Process () [0x00000]
at Upkg.Branches.get_Item (System.Object key) [0x00000]
at Upkg.Branches.get_Current () [0x00000]
at Upkg.ReleaseSpecification.ProcessDeps (System.Xml.XmlElement depsElement) [0x00000]
at Upkg.ReleaseSpecification.Process () [0x00000]
at Upkg.Branches.get_Item (System.Object key) [0x00000]
at Upkg.Branches.get_Current () [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!

Any idea how to fix this?!
Profile   Private Message   E-Mail
Created: 2009-07-29 15:00
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Mitglied
 
 
 
Posts: 70
Registered: 2008-08-24
DId you run it with sudo ("sudo upkg-upgrade")?
 
..............................
Running GNU/Linux Paldo 1.18 (unstable). Rock my box!
Profile   Private Message   Web
Created: 2009-07-29 16:47
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Junior Mitglied
 
 
 
Posts: 26
Registered: 2008-06-15
yes. Anyway after wiping the cache I have another problem - pango returns error:
Code[In neuem Fenster öffnen]
** (/usr/lib/upkg/upkg.exe:11979): WARNING **: _wapi_connect: error looking up socket handle 0x3

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Upkg.Global ---> System.NullReferenceException: Object reference not set to an instance of an object
at Upkg.XmlSpecification.CachedWebDownload (System.String remotefile, System.String localfile) [0x00000]
at Upkg.XmlSpecification..ctor (System.String file) [0x00000]
at Upkg.Global.Init () [0x00000]
at Upkg.Global..cctor () [0x00000]
--- End of inner exception stack trace ---
at Upkg.Application.Main (System.String[] args) [0x00000]
Could not generate script!
Profile   Private Message   E-Mail
Created: 2009-07-29 17:38 | Modified: 2009-07-29 18:01 by dichev
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
I had sometime ago this same error, it seemed like a dowload error so I wipped my cache again and it worked flawlessly.

Try deleting the cache again and then doing a sudo upkg-repair-index and then do a sudo upkg-upgrade to first check if the package index is correct.
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-07-29 23:03
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Junior Mitglied
 
 
 
Posts: 26
Registered: 2008-06-15
Now, that's weird. After doing what you told me, upkg-upgrade now hangs on executing script... there seems to be something deeper in this problem.
Profile   Private Message   E-Mail
Created: 2009-07-30 01:00
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
upgrading the whole system might produce a massive bash script to be executed and the first thing that the scrpit that upkg generates is to check is the packages that it will need are really on the repository, so if might take a while, other thing is that it had to do a whole new caching and it might be slow as well, try it again and wait a bit to see if it passes the executing script
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-07-30 01:12
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Mitglied
 
 
 
Posts: 70
Registered: 2008-08-24
Try using the "--verbose" parameter so you can see if it's really locked up.
 
..............................
Running GNU/Linux Paldo 1.18 (unstable). Rock my box!
Profile   Private Message   Web
Created: 2009-07-30 09:14
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Junior Mitglied
 
 
 
Posts: 26
Registered: 2008-06-15
Well sorry for giving up on this but after leaving the laptop for like 6 hours trying to execute the script just to see no difference in the end I wiped paldo making a clean install. I'll be watching for the circumstances if this problem appears again
Profile   Private Message   E-Mail
Created: 2009-07-31 00:52
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
I gotta say that this is weird since I use paldo for almost one year and never had to reinstall it... so it could be something that broke a file, like incorrect turn off or problems on mounting /. Really don't know what happened but I'm glad you haven't give up on paldo just for that

If anything happen again please post here so we can search deeper for an answer.
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-07-31 01:22
Highlight selected Text   Edit   Delete   Quote Reply
 Re: upkg-upgrade cannot generate script
Mitglied
 
 
 
Posts: 50
Registered: 2009-02-26
I have run into a similar problem. Wiping the cache and using upkg logged in as root, rather than by sudo, eventually worked for upkg-upgrade.
Profile   Private Message
Created: 2009-08-04 14:39
Highlight selected Text   Edit   Delete   Quote Reply
This topic contains further posts. Next
Page: 1 2
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a