Page MenuHomeSolus

Cannot install packages anymore from Software Center/terminal; system reports that Urlgrabber is missing
Closed, ResolvedPublic

Description

This is the output:

[17:41:33] vistaus@solus /home/vistaus/Downloads (0) 
> sudo eopkg it libparted-devel
Total size of package(s): 10.00 KB
Downloading 1 / 1
Package libparted-devel found in repository Solus
Program terminated.
Urlgrabber needs to be installed to run this command
Please use 'eopkg help' for general help.
[17:41:38] vistaus@solus /home/vistaus/Downloads (1) 
>

This Solus install is only a few days old and I'm not using the unstable repository, so I'm not sure what's wrong. python-urlgrabber shows up as installed in the Software Center. Can anyone help me?

Event Timeline

Unknown Object (User) created this task.Dec 17 2017, 4:42 PM
Unknown Object (User) renamed this task from Cannot install anymore from Software Center; System reports that Urlgrabber is missing to Cannot install packages anymore from Software Center/terminal; system reports that Urlgrabber is missing.Dec 17 2017, 4:58 PM
Unknown Object (User) updated the task description. (Show Details)

What's the output of sudo eopkg check python-urlgrabber

Also, have you used pip or done anything with python (outside of install programs from the Solus repository)

Unknown Object (User) added a comment.Dec 17 2017, 9:47 PM

Thanks. This is the output:

> sudo eopkg check python-urlgrabber
Password: 

Checking integrity of python-urlgrabber    Broken
Missing file: /usr/lib/python2.7/site-packages/urlgrabber-3.10.1-py2.7.egg-info
Corrupted file: /usr/lib/python2.7/site-packages/urlgrabber/grabber.py
Corrupted file: /usr/lib/python2.7/site-packages/urlgrabber/__init__.py
[22:46]

I did use pip to install a dependency for compiling an app.

Unknown Object (User) added a comment.EditedDec 17 2017, 9:53 PM
> pip list | grep urlgrabber
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
urlgrabber (3.10.2)
[22:52:06] vistaus@solus /run/media/vistaus/MicroSD/Apps (0) 
>

Hmm, seems like installing said dependency upgraded python-urlgrabber, but in the wrong way, I guess?.

Pretty much, seems to be interfering loading the library. This is one of the many benefits that sol will bring in not relying on external packages to function.

To fix you'd likely need to download the package from the archive and install it

wget https://packages.solus-project.com/shannon/p/python-urlgrabber/python-urlgrabber-3.10.1-5-1-x86_64.eopkg
sudo eopkg install python-urlgrabber-3.10.1-5-1-x86_64.eopkg
Unknown Object (User) added a comment.EditedDec 18 2017, 9:58 AM

Thanks! I executed the commands and the package installed just fine, but it still complains :(

[11:00:13] vistaus@solus /run/media/vistaus/MicroSD/Apps (0) 
> wget https://packages.solus-project.com/shannon/p/python-urlgrabber/python-urlgrabber-3.10.1-5-1-x86_64.eopkg
--2017-12-18 11:00:19--  https://packages.solus-project.com/shannon/p/python-urlgrabber/python-urlgrabber-3.10.1-5-1-x86_64.eopkg
Resolving packages.solus-project.com... 151.101.38.199
Connecting to packages.solus-project.com|151.101.38.199|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 56151 (55K)
Saving to: ‘python-urlgrabber-3.10.1-5-1-x86_64.eopkg’

python-urlgrabber-3.10.1-5-1-x86_64.eopkg              100%[===========================================================================================================================>]  54,83K  --.-KB/s    in 0,05s   

2017-12-18 11:00:19 (1,05 MB/s) - ‘python-urlgrabber-3.10.1-5-1-x86_64.eopkg’ saved [56151/56151]

[11:00:19] vistaus@solus /run/media/vistaus/MicroSD/Apps (0) 
> sudo eopkg it python-urlgrabber-3.10.1-5-1-x86_64.eopkg 
Installation order: python-urlgrabber 
Installing python-urlgrabber, version 3.10.1, release 5
Extracting the files of python-urlgrabber
Installed python-urlgrabber
 [✓] Syncing filesystems                                                success
[11:00:29] vistaus@solus /run/media/vistaus/MicroSD/Apps (0) 
> sudo eopkg it libparted-devel
Total size of package(s): 10.00 KB
Downloading 1 / 1
Package libparted-devel found in repository Solus
Program terminated.
Urlgrabber needs to be installed to run this command
Please use 'eopkg help' for general help.
[11:00:34] vistaus@solus /run/media/vistaus/MicroSD/Apps (1) 
>

I even removed the (faulty) urlgrabber files that pip pulled in and then re-executed your commands, but that also doesn't help :(

JoshStrobl raised the priority of this task from Normal to Needs Triage.Dec 18 2017, 1:34 PM
JoshStrobl added a subscriber: JoshStrobl.

Cleaning up the mess, don't mind me.

Unknown Object (User) added a comment.Dec 18 2017, 8:22 PM

For the record, eopkg now says that the integrity of python-urlgrabber is OK, but it still fails to install anything:

> sudo eopkg check python-urlgrabber
Checking integrity of python-urlgrabber    OK
[21:21:23] vistaus@solus /run/media/vistaus/MicroSD/Apps (0) 
> sudo eopkg it libparted-devel
Total size of package(s): 10.00 KB
Downloading 1 / 1
Package libparted-devel found in repository Solus
Program terminated.
Urlgrabber needs to be installed to run this command
Please use 'eopkg help' for general help.
[21:21:26] vistaus@solus /run/media/vistaus/MicroSD/Apps (1) 
>
Unknown Object (User) added a comment.Dec 19 2017, 11:50 AM

Any help? 'Cause I can't even update my system like this...

@Vistaus Can you run python -c 'import urlgrabber' and paste the output?

Sounds like maybe a broken dependency.

Unknown Object (User) added a comment.Dec 19 2017, 12:08 PM

@DataDrake Thanks for the quick reply! This is the output:

[13:08:26] vistaus@solus /home/vistaus/Downloads (1) 
> python -c 'import urlgrabber'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/urlgrabber/__init__.py", line 55, in <module>
    from grabber import urlgrab, urlopen, urlread
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 512, in <module>
    import pycurl
ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other)
[13:08:26] vistaus@solus /home/vistaus/Downloads (1) 
>

Looks like it broke pycurl too. Next one:

wget https://packages.solus-project.com/shannon/p/python-pycurl/python-pycurl-7.19.0-5-1-x86_64.eopkg
sudo eopkg install python-pycurl-7.19.0-5-1-x86_64.eopkg
Unknown Object (User) added a comment.Dec 19 2017, 1:31 PM

That fixed it! Thank you so, so much! :)

Unknown Object (User) closed this task as Resolved.Dec 19 2017, 1:31 PM