You are not logged in.

#1 2015-06-29 16:38:37

Spheerys
Member
Registered: 2012-05-01
Posts: 86

[Solved] No access to the network : how to install a package offline ?

Hi,

On my laptop, something goes wrong : I suddently didn't get the network (neither wifi, neither eth0).
On console, if I try to launch NetworkManager, I have this answer :

NetworkManager: error while loading shared libraries: libgudev-1.0.so.0: cannot open shared object file: No such file or directory

And without network, the case become a nice peace of cake !

My tools to solve the problem :
- a valid computer with internet
- a usb key

But I don't know how to install manually libgudev from AUR on the laptop, from usb key (to try if it can solve the roblem)

Any help is welcome !

Last edited by Spheerys (2015-06-29 19:59:08)

Offline

#2 2015-06-29 16:46:25

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: [Solved] No access to the network : how to install a package offline ?

to manually install a package

sudo pacman -U /root/Download/packagename.tar.gz

https://wiki.archlinux.org/index.php/Of … f_packages

also check the list of dependencies required by the package and have them handy if needed but they are probably there already

libsystemd
gobject-introspection
gtk-doc
systemd

Last edited by Malkymder (2015-06-29 16:51:59)

Offline

#3 2015-06-29 16:53:49

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: [Solved] No access to the network : how to install a package offline ?

And why from AUR it is available in the Extras repo ?

click the Download from mirrors link to the far right of the page

https://www.archlinux.org/packages/extr … /download/

Edit: Fixed community for Extras repo

Last edited by Malkymder (2015-06-29 16:58:18)

Offline

#4 2015-06-29 17:49:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] No access to the network : how to install a package offline ?

What's the output of

uname -a
pacman -Q libgudev
file /usr/lib/libgudev-1.0.so.0

Offline

#5 2015-06-29 18:57:25

Spheerys
Member
Registered: 2012-05-01
Posts: 86

Re: [Solved] No access to the network : how to install a package offline ?

@Malkymder : I tried, but I have this error at this step "pacman -Sp --noconfirm libgudev > pkglist" :

Error : can't find the target : libgudev

@karol : uname -a give :

Linux berbelu 4.0.5-1-ARCH #1 SMP PREEMPT...

pacman -Q libgudev give :

Error : the package "libgudev" was not found

and file /usr/lib/libgudev-1.0.so.0 return :

/usr/lib/libgudev-1.0.so.0 cannot open "/usr/lib/libgudev-1.0.so.0" no such file or directory

Offline

#6 2015-06-29 19:04:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] No access to the network : how to install a package offline ?

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-06-29 19:58:39

Spheerys
Member
Registered: 2012-05-01
Posts: 86

Re: [Solved] No access to the network : how to install a package offline ?

Thanks for the move in the newbie corner...

@Malkymder : I finally find the way to install the package offline and my problem is solved ! Thanks smile

Offline

#8 2015-06-29 20:07:06

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: [Solved] No access to the network : how to install a package offline ?

Good to hear...
Could you share how you installed it ?

Offline

Board footer

Powered by FluxBB