Arch Linux
Moderators: b1o, jkerr82508
Forum rules
Try to avoid "fanboyism" Spam is strictly forbidden. The general rules apply: viewtopic.php?f=8&t=568
Try to avoid "fanboyism" Spam is strictly forbidden. The general rules apply: viewtopic.php?f=8&t=568
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux
Yeah, that's the confusing part to me - what file to call for what. So, am going to leave it alone and hope an update comes along to fix it.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux
Wondering if postgresql has been working for you, with the latest updates to it?
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Arch Linux
I don't use it so I have to draw a blank here.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux
I've downgraded postgresql back to 8.4, and it's working again - until Arch has a better system of upgrading, I'm leaving it alone. I've also put it into /etc/pacman.conf as a skip on updates (note the arrow pointing to the appropriate line here "IgnorePkg" - uncomment it, and add the packages you need to skip):
Next stop, what to do with older packages. I don't want to just delete them right straight away, as I may need to downgrade again, but yet I don't want them filling up root. So, I'm doing as I did with Mandriva's Cooker when I ran it, and copying the files from the cache to a folder in /home first:
Then, I will run to empty the cache in /var/cache/pacman/pkg:
Do NOT run to empty the cache:
This will delete files in the cache that pacman needs to run - and you don't want to do that. Just run the command pacman -Scc.
If you need to downgrade a package after it's been moved out of the cache, all you need do is change the folder of where you're installing from, i.e. if I need to downgrade to something that's in the folder I just copied the cache to, for example:
I guarantee you it will fly.
I currently have 6.1 Gb in the cache alone taking up root space, and look at my root drive being taken up because of it:
I will post my root space when I'm through with pacman -Scc to let you see the difference (yet I've been able to save those files, in case I need to "roll back" something).
Edit: pacman -Scc done:
As you'll notice, I chose not to remove unused repositories - I am on a revolving door for servers, and prefer to keep them revolving - if one goes down, I want the next ones available still.
Look at the difference that made in root, and the files can even be burned to cd or dvd, and used from there if there is not much /home space.
So, as you can see, I've had a rather constructive day, downgrading postgresql, getting it to not upgrade on me again, and being able to clear the cache, yet keep the files I may need.
These are NOT tips 'n tricks - they are direct heads ups, and can easily be found in the Arch wiki.
Time for bed - will return when I can again.
Code: Select all
:) cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - %u > %o
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
----> IgnorePkg = postgresql postgresql-docs
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
ShowSize
#UseDelta
TotalDownload
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
#[community-testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
[archlinuxfr]
Server = http://repo.archlinux.fr/$archNext stop, what to do with older packages. I don't want to just delete them right straight away, as I may need to downgrade again, but yet I don't want them filling up root. So, I'm doing as I did with Mandriva's Cooker when I ran it, and copying the files from the cache to a folder in /home first:
Code: Select all
:) cp -R /var/cache/pacman/pkg '/home/dedanna/Downloads/pacman packages/11-05-2010'Then, I will run to empty the cache in /var/cache/pacman/pkg:
Code: Select all
su
password
pacman -SccDo NOT run to empty the cache:
Code: Select all
rm -rf /var/cache/pacman/pkgThis will delete files in the cache that pacman needs to run - and you don't want to do that. Just run the command pacman -Scc.
If you need to downgrade a package after it's been moved out of the cache, all you need do is change the folder of where you're installing from, i.e. if I need to downgrade to something that's in the folder I just copied the cache to, for example:
Code: Select all
pacman -U /home/dedanna/Downloads/pacman packages/11-05-2010/pkg/<packagefilename>I guarantee you it will fly.
I currently have 6.1 Gb in the cache alone taking up root space, and look at my root drive being taken up because of it:
Code: Select all
:) df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 252K 9.8M 3% /dev
/dev/disk/by-uuid/b8036618-3036-4ec9-b50c-546fcf082db3
--> 25G 15G 11G 57% /
/dev/sdc1 299G 214G 85G 72% /media/FreeAgent_Drive
shm 502M 716K 502M 1% /dev/shm
/dev/sda1 99M 15M 80M 16% /boot
/dev/sda4 127G 85G 43G 67% /homeI will post my root space when I'm through with pacman -Scc to let you see the difference (yet I've been able to save those files, in case I need to "roll back" something).
Edit: pacman -Scc done:
Code: Select all
:) su
Password:
[root@dedanna dedanna]# pacman -Scc
Cache directory: /var/cache/pacman/pkg/
Do you want to remove ALL files from cache? [y/N] y
removing all files from cache...
Database directory: /var/lib/pacman/
Do you want to remove unused repositories? [Y/n] n
[root@dedanna dedanna]# exit
exit
.:[ dedanna@dedanna.rocks.net : 20:53:56 : ~ ]:.
:) df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 252K 9.8M 3% /dev
/dev/disk/by-uuid/b8036618-3036-4ec9-b50c-546fcf082db3
----> 25G 8.0G 17G 33% /
/dev/sdc1 299G 214G 85G 72% /media/FreeAgent_Drive
shm 502M 716K 502M 1% /dev/shm
/dev/sda1 99M 15M 80M 16% /boot
/dev/sda4 127G 85G 43G 67% /homeAs you'll notice, I chose not to remove unused repositories - I am on a revolving door for servers, and prefer to keep them revolving - if one goes down, I want the next ones available still.
Look at the difference that made in root, and the files can even be burned to cd or dvd, and used from there if there is not much /home space.
So, as you can see, I've had a rather constructive day, downgrading postgresql, getting it to not upgrade on me again, and being able to clear the cache, yet keep the files I may need.
These are NOT tips 'n tricks - they are direct heads ups, and can easily be found in the Arch wiki.
Time for bed - will return when I can again.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Arch Linux
Productive day there! I think you could have removed the unused repositories too. Powerpill is going to identify and use, the 45 best repos anyway. 
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux
Eh, meh, either way to me, makes no diff really.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux
Mr.Elendig wrote:These bugs, and their comments are quite relevant, and explains why the dep handeling is as it is.
http://bugs.archlinux.org/task/15581
http://bugs.archlinux.org/task/15566
Edit: Ok here it goes.
https://bbs.archlinux.org/viewtopic.php ... 61#p802661
Last edited by dedanna1029 on 11 Nov 2010, 21:45, edited 1 time in total.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux
Only problem with updates -
I still have this issue: https://bbs.archlinux.org/viewtopic.php?id=107659
Edit: I've filed with who (I think?) is the maintainer (or developer?) -- https://developer.berlios.de/bugs/?func ... up_id=4808
Thanks for the link, Joste.
I still have this issue: https://bbs.archlinux.org/viewtopic.php?id=107659
Edit: I've filed with who (I think?) is the maintainer (or developer?) -- https://developer.berlios.de/bugs/?func ... up_id=4808
Thanks for the link, Joste.
Last edited by dedanna1029 on 11 Nov 2010, 22:14, edited 1 time in total.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux
And the X one... sigh...
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Arch Linux
dedanna1029 wrote:Only problem with updates -
I still have this issue: https://bbs.archlinux.org/viewtopic.php?id=107659
Edit: I've filed with who (I think?) is the maintainer (or developer?) -- https://developer.berlios.de/bugs/?func ... up_id=4808
Thanks for the link, Joste.
Hm yes that seems to be a bug. But you don't really need it anyway
Something is wrong with this line:
Code: Select all
from gtkPacman import gui, databaseI tried to change it to gtkpacman but no luck.So I can confirm that bug!
dedanna1029 wrote:And the X one... sigh...
I Just love it when you are being mysterious... The X one...what can it be? Why take the fun out of a good mystery right? Or is it my Alzheimer again?
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8784
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Arch Linux
Yeah, I tried that gtkpacman fix too, but no luck, either. I've tried to chase that file down to its last line, breaking each one apart, with no luck - it's why I filed that earlier.
Nothing mysterious about X - I've already posted about it.
viewtopic.php?f=22&t=838
Earlier in this thread, too -- start here: viewtopic.php?p=5046#p5046
I STILL have all screensavers turned off, no power management in effect, and still have a helluva time getting this thing to resume from blanking.
Sometimes I have to hit Ctrl+F2 and Ctrl+F7 some 3 doggone times before it finally comes back - turn the monitor off and on some dozen times, the works.
Yeah, it's yer Alzheimer's LOL - been posting the crap out of it here.
Nothing mysterious about X - I've already posted about it.
viewtopic.php?f=22&t=838
Earlier in this thread, too -- start here: viewtopic.php?p=5046#p5046
I STILL have all screensavers turned off, no power management in effect, and still have a helluva time getting this thing to resume from blanking.
Yeah, it's yer Alzheimer's LOL - been posting the crap out of it here.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Arch Linux
Gtkpacman is fixed now! Wow those Germans really work fast (berlios). I tested it and it is just fine now. 
Apparently it was as simple as editing python to python2 in PKGBUILD (not in /usr/bin/gtkpacman).
Pacman-notifier is broken too. Probably due to the Ruby update.

Apparently it was as simple as editing python to python2 in PKGBUILD (not in /usr/bin/gtkpacman).
Pacman-notifier is broken too. Probably due to the Ruby update.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"