You are not logged in.

#1 2012-06-15 18:13:21

grego
Member
Registered: 2011-12-25
Posts: 5

Battery failed during upgrade and I cant run any program now.

Hi there

After I have started a system upgrade, left my laptop there and the batteries went down. After I plugged it in, nothing works. I know I shoudnt left it there like this.

So if I type "netcfg myconnection" nothing happens. No error message, no success message, nothing. The shell goes on like after a simple hit on the enter.

I'm really lost.

Offline

#2 2012-06-15 18:22:59

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Battery failed during upgrade and I cant run any program now.

try to see if an fsck helps


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2012-06-15 18:25:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,462
Website

Re: Battery failed during upgrade and I cant run any program now.

First, "nothing works" is not only not very informative, but it seems quite inaccurate given your subsequent description: the system boots, and bash runs.

As a first step, have you rerun `pacman -Syu`?  If you do so, it will likely report the existence of a lock file and tell you to delete it.  Do so, then repeate the `pacman -Syu`.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-06-15 18:32:56

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Battery failed during upgrade and I cant run any program now.

Trilby wrote:

First, "nothing works" is not only not very informative

Such threads then become a free for all and no matter what you suggest, you can't be wrong wink

[offtopic]You have two packages. Grammar Grammar wink [/offtopic]


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2012-06-15 18:52:55

grego
Member
Registered: 2011-12-25
Posts: 5

Re: Battery failed during upgrade and I cant run any program now.

Well yes you are right the description was bad. There are something that works and a lot of thing that isnt. For an example netcfg dont as I sad, so I cant realy do any kind of pacman thing. Also pacman do the same.

However there are a lot of very important thing that works. Like you sad bash and boot, cd, ls etc grep and things like that usually work.

Looking for what to do with FSCK atm.

Offline

#6 2012-06-15 18:56:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,462
Website

Re: Battery failed during upgrade and I cant run any program now.

If netcfg isn't working, use manual methods to connect.  Particularly if you have an ethernet connection available.  given a battery died, this must be a laptop, and so ethernet may not be your 'default' way of getting internet access on the system, but I suspect it'd be easier if ethernet is available.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2012-06-15 19:20:53

grego
Member
Registered: 2011-12-25
Posts: 5

Re: Battery failed during upgrade and I cant run any program now.

Yes ethernet is aviable and yes its an ASUS EEEPC 1015PN.

lsmod say I have about 10 modules loaded. Thats totally abnormal right?
# rc.d start network
Network is already running. Try 'network restart'
# rc.d restart network
Error: unkonwn interface in /etc/rc.conf: 'eth0'

lspci dont work and I dont know my network device name.

Offline

#8 2012-06-15 19:50:17

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Battery failed during upgrade and I cant run any program now.

grego wrote:

lsmod say I have about 10 modules loaded. Thats totally abnormal right?

Why do you say that ?Do you know for a fact that it is abnormal?

Try

ip addr

to see the available network devices.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2012-06-17 02:24:52

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,174

Re: Battery failed during upgrade and I cant run any program now.

grego wrote:

# rc.d restart network
Error: unkonwn interface in /etc/rc.conf: 'eth0'

I don't use netcfg but didn't network config move out of rc.conf in an update a little while ago? I think I'm thinking of the 2012-05-13 news?

netcfg 2.8.2 has been moved to [core]. It has been six months since netcfg had an update, so it accumulated quite some changes. Here is a shortlist.

    Configuration has moved out of rc.conf. Please move your configuration to /etc/conf.d/netcfg.
    Connection types ending in -old, -dbus and -iproute are discontinued. Remove the suffix if you still have it: you didn't need it.
    Systemd is now supported for single profile, multiple profile, automatic wired and automatic wireless connections.
    For your basic wifi needs, you can now use the bundled wifi-menu tool. It is a dialog ...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB