You are not logged in.

#1 2012-02-14 09:59:03

Negativeblitz
Member
Registered: 2012-02-14
Posts: 12

[SOLVED] Installed Core, now stuck without Internet (and everything).

Basically as the title says, I'm done with the core installation of Arch, but since my wifi requires me to login from a GUI browser, I can't do that untill I have a Desktop environment up and running. I Googled for quite a while and found this situation exactly identical to mine: http://www.linuxquestions.org/questions … et-866992/
Could someone please elaborate how i could  use a Ubuntu LiveCD to "chroot into the arch install and update it from there"? I'm pretty much a noob and have no idea how chroot works (apart from what little i understand from Googling). Thanks.

Last edited by Negativeblitz (2012-02-17 07:25:09)

Offline

#2 2012-02-14 10:16:33

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

Offline

#3 2012-02-14 10:21:31

yasar11732
Member
Registered: 2010-11-29
Posts: 127

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

I had the same problem. I got lynx package and it's dependencies to a usb
drive, installed it, and logged on from there. It worked for me, you might also give it a shot.

Last edited by yasar11732 (2012-02-14 10:22:17)


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

#4 2012-02-14 10:26:11

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

elinks is on the install cd, there's no need for gymnastics to get lynx.

Offline

#5 2012-02-14 10:34:15

yasar11732
Member
Registered: 2010-11-29
Posts: 127

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

Ohh, I didn't realize that smile


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

#6 2012-02-14 16:00:26

Negativeblitz
Member
Registered: 2012-02-14
Posts: 12

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

Ah thanks, the wiki is awesome. It worked perfectly fine. I updated the system with pacman, but that's about it. Whatever else i try to install now, gets downloaded. Then (for eg.sudo)  :
(1/1) checking package integrity                   [######################] 100%
error: GPGME error: Inappropriate ioctl for device
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Anyone had these errors before?
(Pardon me if this is not the right forum for these questions)

Offline

#7 2012-02-14 20:18:35

meebo
Member
Registered: 2011-12-09
Posts: 13
Website

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

Did you update pacman with the system update? After my last pacman update I wasn't able to install anything from the repos (invalid or currupted package(PGP signature)) until I ran

pacman-key --init

and moved the "/etc/pacman.conf.pacnew" to "/etc/pacman.conf". That may account for your PGP errors right after an upgrade.

Offline

#8 2012-02-15 06:25:19

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

What meebo said basically. Check this and this for more info.


Burninate!

Offline

#9 2012-02-15 11:56:03

Negativeblitz
Member
Registered: 2012-02-14
Posts: 12

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

Thanks for the help but, still couldn't get it to work. I did what meebo said, but still:

[root@ubuntu etc]# pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
warning: xorg-xinit-1.3.2-1 is up to date -- reinstalling
warning: xorg-server-utils-7.6-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (42): compositeproto-0.4.2-2  damageproto-1.2.1-1  dmxproto-2.3.1-1  fontsproto-2.1.1-1  libdmx-1.1.1-1  libdrm-2.4.31-1  libgl-7.11.2-1
              libglapi-7.11.2-1  libpciaccess-0.12.1-1  libxcomposite-0.4.3-1  libxdamage-1.1.3-1  libxfont-1.4.4-1  libxinerama-1.1.1-1
              libxkbfile-1.0.7-1  libxv-1.0.6-1  libxxf86dga-1.1.2-1  pixman-0.24.4-1  videoproto-2.3.1-1  xf86-input-evdev-2.6.0-4
              xf86dgaproto-2.1-2  xineramaproto-1.2.1-1  xkeyboard-config-2.5.1-1  xorg-bdftopcf-1.0.3-1  xorg-font-util-1.2.0-2
              xorg-font-utils-7.6-2  xorg-fonts-alias-1.0.2-2  xorg-fonts-misc-1.0.1-1  xorg-server-common-1.11.4-1  xorg-setxkbmap-1.2.0-3
              xorg-xdpyinfo-1.3.0-1  xorg-xdriinfo-1.0.4-2  xorg-xev-1.1.0-3  xorg-xkbcomp-1.2.3-1  xorg-xlsatoms-1.1.0-2  xorg-xlsclients-1.1.2-1
              xorg-xprop-1.2.1-1  xorg-xvinfo-1.1.1-2  xorg-xwininfo-1.1.2-1  xorg-server-1.11.4-1  xorg-server-utils-7.6-2  xorg-utils-7.6-7
              xorg-xinit-1.3.2-1

Total Installed Size:   38.65 MiB
Net Upgrade Size:       38.59 MiB

Proceed with installation? [Y/n] y
(42/42) checking package integrity                                                         [#####################################################] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

And

pacman-key --init

worked properly too i guess.......So, any ideas as to what i should try out next?

Offline

#10 2012-02-15 14:38:27

narrakan
Member
From: Italy
Registered: 2012-02-06
Posts: 15

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

I am in a situation similar to yours (I need to login from a web browser every three hours to get a lease), and this problem happens to me when I try to use pacman when my session is over. In that case, pacman tries to download from the official mirrors, but it is redirected to another site, causing package corruption and loss. I suggest to login using links or whatever CLI browser you're using, make sure that login succeded, then close the browser, clear pacman's cache (I have never had the need to do this, but you can try if the problem persists) and then try to run pacman again. You should be fine after that.

If you don't want to lose pacman's cache (in case you should need to rollback to a previous version of a package), you could as well backup the cache in a temporary folder before clearing, and restore it when you're done (just don't overwrite the sane files with the corrupted ones).

Last edited by narrakan (2012-02-15 14:43:44)

Offline

#11 2012-02-15 18:43:14

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

I would leave the browser open and work on another tty.

There is an alternative: If you have a look at what happens in the browser, you can simulate those clicks with curl to get an easy lease using a single line of script.

Offline

#12 2012-02-15 19:18:47

meebo
Member
Registered: 2011-12-09
Posts: 13
Website

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

^ I like the alternative posted above. Curl is a powerful tool.

Also, as for the question of how to use a live CD to chroot, why use Ubuntu to chroot to Arch? If you already have an Arch disk why not use that? Anyways - here's info from the wiki on chroot'ing: https://wiki.archlinux.org/index.php/Ch … nging_Root

Last edited by meebo (2012-02-15 19:22:17)

Offline

#13 2012-02-16 18:21:57

Negativeblitz
Member
Registered: 2012-02-14
Posts: 12

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

Errr, i was trying to avoid options which include accessing the net from Arch, since Net access=Driver for wifi=Can't get it without net?. I tried installing the wireless drivers from a usb, but ran into some errors. So, anything else from chroot that might help?

Offline

#14 2012-02-16 20:13:46

meebo
Member
Registered: 2011-12-09
Posts: 13
Website

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

Me and Awebb have already you pointed you to the  chroot Wiki entry - is there something in there you don't understand?

Also, can you not just plug in via ethernet and use that to update your Arch install and grab a Desktop Environment or Window Manager?

You may also want to check

ifconfig -a

to see if your wireless driver is in fact installed but just not brought up on boot. Mine is always installed after a fresh Arch installation but not brought up by default. So I always grab Wicd, add it to my daemons array in /etc/rc.conf, and remove "network", then reboot. When the Wicd daemon starts it automatically brings up my wlan1 interface. (Sorry if "ifconfig -a" is too noobish for you - you claimed to be a noob so we want to make sure all bases are covered >_<).

Offline

#15 2012-02-17 07:24:44

Negativeblitz
Member
Registered: 2012-02-14
Posts: 12

Re: [SOLVED] Installed Core, now stuck without Internet (and everything).

Ah thanks, I get it now. big_smile Thanks for all the help people.

Offline

Board footer

Powered by FluxBB