[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-25 Thread Israel Dahl
also... you could put a check in the script to look at the size of the database. It should be possible to check any number of things from this script. I would be willing to help someone if they want to work on this. But I have a lot going on, so I cannot take full ownership of this bug. -- You

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-25 Thread Israel Dahl
Hi, Nio e-mailed me about this recently. I have one idea, that might work. a postintpostint script is being described... so the only real hacky workaround I can think of is to create a script. This script can check for internet and wait until apt is finished(or wait 5 minutes). Then it can updat

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread sudodus
OK, let us call it "won't fix" now. I would suggest that Jörn and I discuss the issue privately and maybe agree about the details and after that ask Julien (gilir) to help us add such a file when creating the alternate iso file. I guess there is a set of scripts (similar to (but more advanced than

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread Walter Lapchynski
There's no reason we couldn't include this in updates. If you seriously have a plan to make this happen, Nio, please assign this to yourself. Otherwise, I'm going to call this Won't Fix. ** Changed in: lubuntu-software-center (Ubuntu) Status: Triaged => Won't Fix ** Changed in: lubuntu-sof

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread Jörn Schönyan
If someone finds a way to create that file with the alternate iso, I'm willing to sponsor a patch for LSC. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled package

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread sudodus
I'm not sure there is time to do it today for 15.04, but I think it would be possible given more time. Such a 'flag file' and the logic to use it can be included in the LSC package, and it would start working when the installed system is upgraded with the bug-fixed LSC package. -- You received th

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread Jörn Schönyan
But is there a way to do this? I don't know much about the alternate installer. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a system installed wit

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread sudodus
Maybe a file can be used as a flag. a file provided when installing via the alternate installer. When the LSC is started, check for that file and check for internet. If both conditions are satisfied, regenerate the database. If the database was generated successfully, remove the file that is used a

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread Henk Terhell
Since Synaptic is fully functional in the alternate could we not live with that for this version? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a sy

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread Jörn Schönyan
Not sure what all the triggers are, I can only find updates for app- install-data as a trigger - but they are more often. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find unin

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread sudodus
So there are good reasons to keep LSC, even in the won't fix scenario :-) How is the regeneration of the database triggered? Can it be triggered at the first boot (not every boot) of a system installed by the alternate installer? I'm thinking of that as a possible bug-fix: wait for the internet co

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-23 Thread Jörn Schönyan
Hi Nio, 1. it is way faster, really a big difference. USC was made a bit faster, but it's still not comparable to LSC. 2. I guess most Lubuntu users are using it, but alternate iso installs are quite rare. And as the DB is regenerated from time to time, nobody noticed that issue. 3. It's workin

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
Confirmed the lubuntu-software-center-update-db fix actually does do the trick. It is in postinst but clearly locked apt makes for a problem. Is there a postpostinst trigger? XD ** Description changed: STEPS TO REPRODUCE  1. Install Lubuntu Vivid form the alternate image  2. Open Lubuntu So

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
What about Muon (Kubuntu)? I don't know if Kylin's Software Center is any different than Synaptic, but that might be something to look at, too. Why not re-design this without using the DB? It does seem kind of kludgy. We also can't do dpkg-reconfigure in postinst, right? -- You received this bu

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread sudodus
Some questions: 1. What is the advantage of Lubuntu Software Center compared to [Ubuntu] Software Center? Is it lighter or faster? 2. How many people are using it? Maybe very few people because this bug has not been detected since Precise. 3. Would it be a good idea to remove it from Lubuntu are

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread sudodus
Corrected typing error: ... remove it from Lubuntu *in order to* get a better margin ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a system inst

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Jörn Schönyan
Ubuntu's Software Center is totally different. It doesn't have a DB for caching like LSC has. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a system

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
Confirmed this is a problem as far back as Precise. Wow, I'm surprised we never noticed this before. Maybe it's a good time to check in with the developers of the other software centers and see what they do? Or work on a major redesign? Either way, I'm thinking we target this for W-series. Thoughts

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
wow, sounds like this might a won't fix huh? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a system installed with the alternate image To manage

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Jörn Schönyan
I did some investigation, apt-get update in postinst doesn't work at all, because APT is locked. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a sys

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
Could we add a conditional to check to see if we're using debian- installer and if so, just try to update before building the database? Worst case scenario the update fails because there's no internet connection. Oh well. Better than nothing. -- You received this bug notification because you are

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Jörn Schönyan
Shipping the database one the iso means 80 MB more, not sure how good the compression ratio would be. That is a no-go I think. Especially for the desktop iso. As the alternate iso isn't used often, I guess we can live with this issue. Sad, but I don't see a good solution. -- You received this bu

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
Sigh, another reason I don't love the alternate image. I think it would be wise to include all packages in the database and then check for installation candidates at install. Couldn't that happen? What do the other software centers do? -- You received this bug notification because you are a mem

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Jörn Schönyan
No, it is clearly a design flaw. While the DB is being generated, it drops every package without installation candidate. On the alternate install, there are no informations about the avaible packages so everything is dropped, if it isn't installed. That is why DB is that small, it should be around

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
…or perhaps, is this an issue with debian-installer since it only affects alternate? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a system installe

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
Since we have workarounds, I'm demoting this to high. ** Changed in: lubuntu-software-center (Ubuntu) Importance: Critical => Medium ** Changed in: lubuntu-software-center (Ubuntu) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Walter Lapchynski
Jörn, isn't the command to update the database `lubuntu-software-center- build-db /var/cache/lsc_packages.db /usr/share/app-install/desktop/ /usr/share/LSC/categories.ini`, as specified in the post-installation instructions? What's the fix for this? `apt-get update` in the post- install??? -- You

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Martin Pitt
** Changed in: lubuntu-software-center (Ubuntu) Milestone: ubuntu-15.04 => vivid-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a system

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Jörn Schönyan
Changing the download server does not regenerate the DB (and it should not even do it, because it takes too long imho). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninst

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-22 Thread Henk Terhell
Changing the download server does updates the packages cache but doesn't show the software in the alternate installation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find unin

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Jörn Schönyan
Given all this informations, it seems that the DB is generated too early (when APT hasn't updated it cache yet) or without internet connection at all. The desktop isos bring some cache files with them, so there is no issue. I would even bet, this issue is present on old alternates, too. -- You r

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Walter Lapchynski
** Description changed: STEPS TO REPRODUCE  1. Install Lubuntu Vivid form the alternate image  2. Open Lubuntu Software Center  3. Search for an uninstalled package (e.g. sakura) EXPECTED RESULTS  * Can find uninstalled packages ACTUAL RESULTS  * Cannot find uninstalled packa

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Brendan Perrine
sudo dpkg-reconfigure lubuntu-software-center seems to cause it to see a package that is not installed and finds stuff. ** Description changed: STEPS TO REPRODUCE  1. Install Lubuntu Vivid form the alternate image  2. Open Lubuntu Software Center  3. Search for an uninstalled package (e.g

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Walter Lapchynski
Note there's a DEBUG line when run under the command line that says "__init__ 44 Opening config file" and when searching "run 92 sensitive!" but these show up regardless of whether or not it works. ** Description changed: STEPS TO REPRODUCE  1. Install Lubuntu Vivid form the alternate image

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Walter Lapchynski
Has anyone tried reinstalling lubuntu-software-center before bothering with installing software-center? ** Changed in: lubuntu-software-center (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

Re: [Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Brendan Perrine
On Tue, 21 Apr 2015 22:06:53 - sudodus wrote: > GUI programs) were found and installed earlier). Nio lubuntu-software-center doesn't show all packages by defualt but try again once you open the prefrences and turn expert mode on. -- Brendan Perrine -- You received this bug notification

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Walter Lapchynski
** Description changed: STEPS TO REPRODUCE  1. Install Lubuntu Vivid form the alternate image  2. Open Lubuntu Software Center  3. Search for an uninstalled package (e.g. sakura) EXPECTED RESULTS  * Can find uninstalled packages ACTUAL RESULTS  * Cannot find uninstalled packa

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread sudodus
I found another issue with Lubuntu Software Center: Now it can find some but not all possible candidates for installation. The following packages are found and can be installed with Synaptic and apt-get, but not Lubuntu Software Center: dialog, zenity (zenity is installed by default, yet not foun

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread sudodus
Installing with Synaptic and apt-get works as intended, but will not repair Lubuntu Software Center. What do you mean by work-around? - To replace Lubuntu Software Center or make it work again? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Walter Lapchynski
Please include any other workarounds in the appropriate section in the bug description above. ** Description changed: STEPS TO REPRODUCE  1. Install Lubuntu Vivid form the alternate image  2. Open Lubuntu Software Center  3. Search for an uninstalled package (e.g. sakura) EXPECTED RE

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread sudodus
I got curious and tried Lubuntu Software Center again after installing [Ubuntu] Software Center. And now it works. Was this what you meant? That installing [Ubuntu] Software Center makes Lubuntu Software Center work! Anyway it does, but [Ubuntu] Software Center is good, so we might as well use i

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread sudodus
I installed [Ubuntu] Software Center: sudo apt-get install software-center It works and can install for example htop without any issues. Synaptic and apt-get work too. So I confirm several work-arounds, that can be mentioned in the release notes (if the bug will not be squashed in time). -- Y

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1446830 ** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is s

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread Walter Lapchynski
Nio, can you confirm the workaround? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninstalled packages on a system installed with the alternate image To manage notifica

[Bug 1446830] Re: can't find uninstalled packages on a system installed with the alternate image

2015-04-21 Thread sudodus
Good, now we have a separate bug report. Let us know if you need additional information/data to help squash this bug! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1446830 Title: can't find uninsta