You are not logged in.

#1 2008-10-07 02:10:09

ahunavairya
Member
Registered: 2008-10-01
Posts: 25

Lots of problems....

I have had some sort of problem pop up every time I reinstall Arch. I had a working system that starting giving me trouble so I just decided to reinstall since I had wanted to anyway for a while but I was a bit hesitant. One of my problems was  some errors with pacman not being able to retrieve files due to a mysterious "not logged in" error, and I stil don't know what was triggering that. It seems it was/is an error with the mirror i was using(ftp.ibiblio.org) because I reinstalled and tried to use that one and the same thing happened. No matter what mirror I use it goes slow, compared to before anyway,  or has an error. Sometimes it can't retrieve packages, sometimes it gives the "not found in sync db error", sometimes it can't connect although when i got that error ping and links worked.
I reinstalled again a couple of times just to see and the same thing happened, with a different error each time, and now it's the klibc error with -Syu even though I wasn't using testing. Also on one of the first 'just to see' reinstallations it could not find the reboot or shutdown commands when i switched from root to user. It couldn't find them for a bit in root but i kept trying and it finally rebooted. I know I have configured everything properly, I configured it just like before when it actually worked, this also seems to be a pacman and/or mirror problem as well. Not to mention X won't set the screen resolution properly when using the same method as my working install with the same monitor and card. What is going on????


خيام اگر ز باده مستى خوش باش
با ماه رخى اگر نشستى خوش باش
چون عاقبت كار جهان نيستى است
انگار كه نيستى، چو هستى خوش باش

Offline

#2 2008-10-07 04:23:34

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: Lots of problems....

One of my problems was  some errors with pacman not being able to retrieve files due to a mysterious "not logged in" error, and I stil don't know what was triggering that.

An out of date cache, possibly? Be sure to pacman -Sy before installing anything new if you haven't run pacman in more than a week.

t seems it was/is an error with the mirror i was using(ftp.ibiblio.org) because I reinstalled and tried to use that one and the same thing happened.

It will make things go quite slow, but edit /etc/pacman.conf and use your editor's batch copy/replace (nano's is alt+r, or esc, r, if you're using xterm) to replace "#Server" with "Server", so that all servers are enabled. This is more of a hacky, "is it the server or me" problem-solver - once your pacman config seems valid, start to narrow servers down until you find one that works for you.

No matter what mirror I use it goes slow, compared to before anyway,  or has an error. Sometimes it can't retrieve packages, sometimes it gives the "not found in sync db error", sometimes it can't connect although when i got that error ping and links worked.

Can't retrieve packages = is your database synced?
"not found in sync db" = neutral
Can't connect = hmm

I reinstalled again a couple of times just to see and the same thing happened, with a different error each time, and now it's the klibc error with -Syu even though I wasn't using testing.

Ouch.

Also on one of the first 'just to see' reinstallations it could not find the reboot or shutdown commands when i switched from root to user. It couldn't find them for a bit in root but i kept trying and it finally rebooted.

Huh?

I know I have configured everything properly, I configured it just like before when it actually worked, this also seems to be a pacman and/or mirror problem as well.

You got that right lol

Not to mention X won't set the screen resolution properly when using the same method as my working install with the same monitor and card.

I can say with a fair degree of confidence that that's probably because X got upgraded to a newer version in the repos before you reinstalled it. So you'd be using a newer version of X.
X is in a very big state of flux, what with all the ATI specifications being open sourced (even if you don't use ATI, this might affect you), and there's a lot of work going into support for Intel cards (again, if you don't use Intel this might affect you). NVidia support is also stable, but steadily updating and (I'd hope/assume!) getting better.

Yeah, pretty run-of-the-mill, stereotypical responses here but these are all I can think of. hmm Someone else might have a better chance of getting into the nitty gritty.

-dav7

Last edited by dav7 (2008-10-07 04:26:57)


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#3 2008-10-07 06:21:49

ahunavairya
Member
Registered: 2008-10-01
Posts: 25

Re: Lots of problems....

An out of date cache, possibly? Be sure to pacman -Sy before installing anything new if you haven't run pacman in more than a week.

I run pacman a lot more than once a week, and it did that on one of the fresh installs.

It will make things go quite slow, but edit /etc/pacman.conf and use your editor's batch copy/replace (nano's is alt+r, or esc, r, if you're using xterm) to replace "#Server" with "Server", so that all servers are enabled. This is more of a hacky, "is it the server or me" problem-solver - once your pacman config seems valid, start to narrow servers down until you find one that works for you.

The first part of that was unclear... but it made sense so yeah, I understand.

Can't retrieve packages = is your database synced?
"not found in sync db" = neutral
Can't connect = hmm

As I said, it happened on one of my fresh installs. Seems like every fresh install there was a new problem, when I was doing  the exact same thing.
It happened on my first working install too after a while, and my database was definitely synced in both cases.

Ouch.

Basically neutral

Huh?

There was no reboot command found in /bin/bash temporarily for some unfathomable reason

You got that right lol

?

I can say with a fair degree of confidence that that's probably because X got upgraded to a newer version in the repos before you reinstalled it. So you'd be using a newer version of X.
X is in a very big state of flux, what with all the ATI specifications being open sourced (even if you don't use ATI, this might affect you), and there's a lot of work going into support for Intel cards (again, if you don't use Intel this might affect you). NVidia support is also stable, but steadily updating and (I'd hope/assume!) getting better.

I do use ATI, and it may be that but it's like it wants to do everything BUT what I say. I need 1024x768@70 but it goes to 1024x768@75, or a totally different resolution depending on how I edit the config. Xrandr will set 1024x768@70 if it detects it but otherwise it's ignored...

Yeah, pretty run-of-the-mill, stereotypical responses here but these are all I can think of. hmm Someone else might have a better chance of getting into the nitty gritty.

-dav7

Well anyway thanks for replying :]


خيام اگر ز باده مستى خوش باش
با ماه رخى اگر نشستى خوش باش
چون عاقبت كار جهان نيستى است
انگار كه نيستى، چو هستى خوش باش

Offline

#4 2008-10-07 08:12:47

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: Lots of problems....

ahunavairya wrote:

An out of date cache, possibly? Be sure to pacman -Sy before installing anything new if you haven't run pacman in more than a week.

I run pacman a lot more than once a week, and it did that on one of the fresh installs.

Oh. hmm

It will make things go quite slow, but edit /etc/pacman.conf and use your editor's batch copy/replace (nano's is alt+r, or esc, r, if you're using xterm) to replace "#Server" with "Server", so that all servers are enabled. This is more of a hacky, "is it the server or me" problem-solver - once your pacman config seems valid, start to narrow servers down until you find one that works for you.

The first part of that was unclear... but it made sense so yeah, I understand.

I meant that since you'd be enabling all mirrors, pacman would probably select one very far away from you and you would therefore get slow transfer speeds.

Can't retrieve packages = is your database synced?
"not found in sync db" = neutral
Can't connect = hmm

As I said, it happened on one of my fresh installs. Seems like every fresh install there was a new problem, when I was doing  the exact same thing.
It happened on my first working install too after a while, and my database was definitely synced in both cases.

How confusing neutral

Huh?

There was no reboot command found in /bin/bash temporarily for some unfathomable reason

mad neutral

I contextually referred to:

I know I have configured everything properly, I configured it just like before when it actually worked, this also seems to be a pacman and/or mirror problem as well.

You got that right lol

I can say with a fair degree of confidence that that's probably because X got upgraded to a newer version in the repos before you reinstalled it. So you'd be using a newer version of X....

I do use ATI, and it may be that but it's like it wants to do everything BUT what I say. I need 1024x768@70 but it goes to 1024x768@75, or a totally different resolution depending on how I edit the config. Xrandr will set 1024x768@70 if it detects it but otherwise it's ignored...

Ah, I see.

A while ago I had a similar problem - my ATI card (or CRT) wasn't correctly reporting a resolution I knew the CRT was capable of. A bit of asking around on IRC and I turned up a solution. I went looking in my IRC logs to find this conversation but turned up nothing, then turned to a google search and was rather impressed to discover what I was looking for - it's the first hit. Search in the page for "Um, xrandr. The manpage should explain everything." and just scan what you see.

I found a more pertinent link in/from that IRC log, http://wiki.debian.org/XStrikeForce/HowToRandR12 - you'd want to pay attention to the "Adding new modes" section probably, and I'll just say that since your hardware doesn't exactly like cooperating on a continual basis you'll need to learn, if you don't already know, the wonder of the incomprehensible X modeline. Thankfully, there are many online calculators out there, but they simply need some video timing information - if your display is a CRT, this info will be more exotic (and should be included with your monitor's manual or available online), but if your display is an LCD (or your actual PC is a laptop tongue) this shouldn't be too hard to figure out. I don't have any experience with configuring modelines for LCDs so don't know about that though.


BTW, the lower part of this message was a SOQ (Sea Of Quotes). I was continually pestered with "The BBCode syntax in the message is incorrect. Missing start tag for [/quote]." while I wrote it lol

The  tags were placed where they are as a layout hack, to give the quote boxes a decent amount of space between them so that readability was improved (and I "escaped" those s above by using "", btw, and the "

" was similarly escaped with [/b][b] by using "

", but I closed and reopened the bold tag in the latter case to keep the text bold).

*me*[quote][quote][quote]*you*[/quote]
*me*[/quote]
[/quote]
[b]
[/b][quote][quote]*me*[/quote]
*you*[/quote]
*me*

-dav7

Last edited by dav7 (2008-10-07 08:35:31)


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#5 2008-10-07 08:44:44

ahunavairya
Member
Registered: 2008-10-01
Posts: 25

Re: Lots of problems....

Thank you for the X resolution links, I'll try them out tomorrow after I get the rest of the damn system working neutral

I'm still getting that klibc error, although I DID find a good mirror with suitable speed...


Is that announcement referring to the same klibc situation I'm in?

Also something I've been wondering...should I copy mirrorlist.pacnew to mirrorlist when pacman upgrades or what?

Last edited by ahunavairya (2008-10-07 08:46:21)


خيام اگر ز باده مستى خوش باش
با ماه رخى اگر نشستى خوش باش
چون عاقبت كار جهان نيستى است
انگار كه نيستى، چو هستى خوش باش

Offline

#6 2008-10-07 09:23:39

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: Lots of problems....

ahunavairya wrote:

should I copy mirrorlist.pacnew to mirrorlist when pacman upgrades or what?

Shouldn't need to.. mirrorlist.pacnew would just reset your current mirror selections.

Offline

#7 2008-10-07 09:31:29

ahunavairya
Member
Registered: 2008-10-01
Posts: 25

Re: Lots of problems....

Okay thank you
I didn't think I needed to, and I never did before, but I was just curious about that for a while

I guess that announcement does address the klibc problem I have, I'll see tomorrow I guess

Last edited by ahunavairya (2008-10-07 09:47:09)


خيام اگر ز باده مستى خوش باش
با ماه رخى اگر نشستى خوش باش
چون عاقبت كار جهان نيستى است
انگار كه نيستى، چو هستى خوش باش

Offline

#8 2008-10-08 04:19:48

ahunavairya
Member
Registered: 2008-10-01
Posts: 25

Re: Lots of problems....

Well I have everything up and running fine(besides the X resolution but I'm working those links dav7 gave, thanks again for that tongue), but there's something ELSE reallly bugging me hmm
When I check the /home directory it says Free space: 165.5 GB (Total: 174.4GB) and I've used not even a gig of /home.

Where did that 9 GB go...?
By the way, I have  a 186 GB hard drive, 10 GB /partition, 32 mb /boot (39.2 or 38 on disk apparantley) and the leftover is /home.

Last edited by ahunavairya (2008-10-08 04:23:38)


خيام اگر ز باده مستى خوش باش
با ماه رخى اگر نشستى خوش باش
چون عاقبت كار جهان نيستى است
انگار كه نيستى، چو هستى خوش باش

Offline

#9 2008-10-08 04:43:05

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: Lots of problems....

I'm guessing you're using ext3, so that's probably just due to normal ext3 overhead.. you can google up lots of info about ext3 filesystem internals.

Offline

#10 2008-10-08 04:44:48

ahunavairya
Member
Registered: 2008-10-01
Posts: 25

Re: Lots of problems....

I'm using ext2

Also, it wasn't like that on the previous working install I had on here as far as I can remember, I guess I could be wrong but I seriously doubt it.

edit: solved the X resolution stuff by switching from the opensource ati driver to fglrx. Made me cringe but it works better now I guess...

Last edited by ahunavairya (2008-10-08 17:58:22)


خيام اگر ز باده مستى خوش باش
با ماه رخى اگر نشستى خوش باش
چون عاقبت كار جهان نيستى است
انگار كه نيستى، چو هستى خوش باش

Offline

#11 2008-10-09 07:04:36

ahunavairya
Member
Registered: 2008-10-01
Posts: 25

Re: Lots of problems....

I tried formatting the filesystem and reinstalling just to see (again) because I didn't have anything on the computer yet besides the fresh install and it still says 9gb is used. It couldn't be the ext3 overhead because I installed with ext2 first before. Is it just some reserved space or what?


خيام اگر ز باده مستى خوش باش
با ماه رخى اگر نشستى خوش باش
چون عاقبت كار جهان نيستى است
انگار كه نيستى، چو هستى خوش باش

Offline

Board footer

Powered by FluxBB