[yaourt] patch to remove a lost pacman lockfile
I'm posting this for everyone who are lazy to remove a lost pacman lockfile.
I often misspell a package name or an option and interrupt pacman quickly before it syncs.
This ends up with pacman getting killed before it's lockfile can be removed.
I made a patch for yaourt to remove the lockfile if pacman is not running,
so I don't have to remove it manually every time.
--- lib/pacman.sh.in 2013-04-05 21:35:17.000000000 +0300
+++ pacman.sh.in.patched 2013-04-08 11:13:16.202378062 +0300
@@ -33,8 +33,13 @@
pacman_queue() {
# from nesl247
if [[ -f ${P[lockfile]} ]]; then
- msg $(gettext 'Pacman is currently in use, please wait.')
- while [[ -f ${P[lockfile]} ]]; do sleep 3; done
+ if [[ -z `pidof pacman` ]]; then
+ msg $(gettext 'Pacman is not running, but a lockfile exists; removing it.')
+ launch_with_su rm ${P[lockfile]}
+ else
+ msg $(gettext 'Pacman is currently in use, please wait.')
+ while [[ -f ${P[lockfile]} ]]; do sleep 3; done
+ fi
fi
Durzo wrote:
tomk wrote:Durzo, I'm sure you're delighted you got yaourt installed, and hopefully you learned something, but IMO you're getting off to a bad start. Others have already said it, but it's worth saying again - fi you're going to use the AUR, learn how it works first before you start using any helper application. Your self-confessed uber-noobiness makes this an even more crucial requirement.
As meph mentioned, I too intended on having Yaourt only install AUR packages keeping pacman the primary in package installation.
The point is to know how to use the AUR without relying on a helper, because yaourt is more than a 'helper'. Something like 'cower' is much more of a helper in that you still have to take care of the main steps yourself. Using yaourt instead of pacman for -Syu doesn't change much, its using it as a 'pacman for the AUR' which can cause confusion. Which is as well the only reason to use it....
Durzo wrote:"learn how it works first" ...do you mean download each tarball PKGBUILD from the AUR separately, and then install with the "makepkg -is" command?
Yes. The fact that you even know that's what you have to do is already good (perhaps better than those who have right-away gone for yaourt).
There's no inherent 'negative' to yaourt (if you ignore the fact that it may not work following some pacman/libarchive upgrades) if you know how to live without it.
Similar Messages
-
[SOLVED] messed up yaourt output (could be due to pacman error)
Don't know if my yaourt issue is related to this pacman one http://bbs.archlinux.org/viewtopic.php?id=94378 but this issue is fairly new. Now when I run a
yaourt -Syu --aur
it starts fine but when fetching for AUR updates it starts showing core/extra/testing packages as they were in AUR (i.e rsync, ruby, thunderbird, samba) complaining it cannot find them in AUR (sorry for the French error messages):
yaourt -Syu --aur
Mot de passe :
:: Synchronisation des bases de données de paquets...
core est à jour;
extra est à jour;
community 364,8K 206,0K/s 00:00:02 [##################################################################################################] 100%
archlinuxfr est à jour;
==> Recherche de nouvelle version sur AUR
b43-firmware-newest: à jour
b43-fwcutter-patched: à jour
couchdb: à jour
cryptkeeper: à jour
darktable-git: (local=20100327-1 aur=20100202-1)
ddcxinfo-arch: à jour
desktopcouch-bzr: (local=129-1 aur=121-1)
elementary-icons: à jour
enigmail: à jour
giggle: à jour
giplet: à jour
git-svn-helpers: à jour(0.7-1 marqué comme "périmé")
gwibber-new: à jour
hwd: à jour
intel-gpu-tools: à jour
jdownloader: à jour
libjpeg7: à jour
libmbca: à jour
libpng12: à jour
libpthread-stubs: à jour
nxcomp: à jour
nxproxy: à jour
openvpn-easy-rsa: à jour
perl-config-simple: à jour
perl-proc-simple: à jour
perl-term-shellui: à jour
phatch: à jour
powernowd: à jour
pyexiv2: à jour
pyrenamer: à jour
pysvn: à jour
python-couchdb: à jour
python-oauth-svn: à jour
qalculate-gtk: non trouvé sur AUR
qca: non trouvé sur AUR
qgit: non trouvé sur AUR
qimageblitz: non trouvé sur AUR
qt: non trouvé sur AUR
qwit: à jour
rabbitvcs: à jour
randrproto: non trouvé sur AUR
raptor: non trouvé sur AUR
rarian: non trouvé sur AUR
rasqal: non trouvé sur AUR
recode: non trouvé sur AUR
recordproto: non trouvé sur AUR
redland: non trouvé sur AUR
remmina: à jour
renderproto: non trouvé sur AUR
ristretto: non trouvé sur AUR
rpmextract: non trouvé sur AUR
rrdtool: non trouvé sur AUR
rsync: non trouvé sur AUR
ruby: non trouvé sur AUR
samba: non trouvé sur AUR
sane: non trouvé sur AUR
saxon: non trouvé sur AUR
scons: non trouvé sur AUR
scribus: non trouvé sur AUR
scrnsaverproto: non trouvé sur AUR
sdl: non trouvé sur AUR
sdl_image: non trouvé sur AUR
setuptools: non trouvé sur AUR
sg3_utils: non trouvé sur AUR
shared-desktop-ontologies: non trouvé sur AUR
shared-mime-info: non trouvé sur AUR
sig2dot: à jour
silc-toolkit: non trouvé sur AUR
slang: non trouvé sur AUR
slim: non trouvé sur AUR
slim-themes: non trouvé sur AUR
smbclient: non trouvé sur AUR
soprano: non trouvé sur AUR
speex: non trouvé sur AUR
spidermonkey: non trouvé sur AUR
squeeze: non trouvé sur AUR
startup-notification: non trouvé sur AUR
strigi: non trouvé sur AUR
subversion: non trouvé sur AUR
sylpheed: non trouvé sur AUR
t1lib: non trouvé sur AUR
taglib: non trouvé sur AUR
talloc: non trouvé sur AUR
tcl: non trouvé sur AUR
tdb: non trouvé sur AUR
terminal: non trouvé sur AUR
texlive-bibtexextra: non trouvé sur AUR
texlive-bin: non trouvé sur AUR
texlive-core: non trouvé sur AUR
texlive-fontsextra: non trouvé sur AUR
texlive-formatsextra: non trouvé sur AUR
texlive-games: non trouvé sur AUR
texlive-genericextra: non trouvé sur AUR
texlive-htmlxml: non trouvé sur AUR
texlive-humanities: non trouvé sur AUR
texlive-latex3: non trouvé sur AUR
texlive-latexextra: non trouvé sur AUR
texlive-localmanager: à jour
texlive-music: non trouvé sur AUR
texlive-pictures: non trouvé sur AUR
texlive-plainextra: non trouvé sur AUR
texlive-pstricks: non trouvé sur AUR
texlive-publishers: non trouvé sur AUR
texlive-science: non trouvé sur AUR
thunar: non trouvé sur AUR
thunar-archive-plugin: non trouvé sur AUR
thunar-media-tags-plugin: non trouvé sur AUR
thunar-volman: non trouvé sur AUR
thunarx-python: à jour
thunderbird: non trouvé sur AUR
tk: non trouvé sur AUR
truecrypt: non trouvé sur AUR
ttf-bitstream-vera: non trouvé sur AUR
ttf-dejavu: non trouvé sur AUR
ttf-freefont: non trouvé sur AUR
ttf-ms-fonts: non trouvé sur AUR
udisks: (local=1.0.0-2 aur=1.0.0-1)
unixodbc: non trouvé sur AUR
unrar: non trouvé sur AUR
unzip: non trouvé sur AUR
vbetool: non trouvé sur AUR
videoproto: non trouvé sur AUR
vigra: non trouvé sur AUR
vim: non trouvé sur AUR
vim-auctex: à jour
vim-latexsuite: à jour
vim-minibufexpl: non trouvé sur AUR
virtualbox_bin: à jour
virtuoso: non trouvé sur AUR
vlc: non trouvé sur AUR
vte: non trouvé sur AUR
wavpack: non trouvé sur AUR
wicd: non trouvé sur AUR
wipe: non trouvé sur AUR
wireshark: non trouvé sur AUR
wv: non trouvé sur AUR
wv2: non trouvé sur AUR
wxgtk: non trouvé sur AUR
wxpython: non trouvé sur AUR
x264: non trouvé sur AUR
x2goclient: à jour
x2goclient-gtk: à jour
xarchiver: non trouvé sur AUR
xbitmaps: non trouvé sur AUR
xcb-proto: non trouvé sur AUR
xcb-util: non trouvé sur AUR
xcursor-themes: non trouvé sur AUR
xdg-utils: non trouvé sur AUR
xextproto: non trouvé sur AUR
xf86-input-evdev: non trouvé sur AUR
xf86-input-keyboard: non trouvé sur AUR
xf86-input-mouse: non trouvé sur AUR
xf86-input-synaptics: non trouvé sur AUR
xf86-video-intel: non trouvé sur AUR
xf86-video-vesa: non trouvé sur AUR
xf86dgaproto: non trouvé sur AUR
xf86driproto: non trouvé sur AUR
xf86miscproto: non trouvé sur AUR
xf86vidmodeproto: non trouvé sur AUR
xfburn: non trouvé sur AUR
xfce-utils: non trouvé sur AUR
xfce4-appfinder: non trouvé sur AUR
xfce4-artwork: non trouvé sur AUR
xfce4-battery-plugin: non trouvé sur AUR
xfce4-clipman-plugin: non trouvé sur AUR
xfce4-cpufreq-plugin: non trouvé sur AUR
xfce4-cpugraph-plugin: non trouvé sur AUR
xfce4-datetime-plugin: non trouvé sur AUR
xfce4-dev-tools: non trouvé sur AUR
xfce4-dict-plugin: non trouvé sur AUR
xfce4-diskperf-plugin: non trouvé sur AUR
xfce4-eyes-plugin: non trouvé sur AUR
xfce4-fsguard-plugin: non trouvé sur AUR
xfce4-genmon-plugin: non trouvé sur AUR
xfce4-icon-theme: non trouvé sur AUR
xfce4-mailwatch-plugin: non trouvé sur AUR
xfce4-messenger-plugin: non trouvé sur AUR
xfce4-mixer: non trouvé sur AUR
xfce4-mount-plugin: non trouvé sur AUR
xfce4-mpc-plugin: non trouvé sur AUR
xfce4-netload-plugin: non trouvé sur AUR
xfce4-notes-plugin: non trouvé sur AUR
xfce4-notifyd: non trouvé sur AUR
xfce4-panel: non trouvé sur AUR
xfce4-playercontrol-plugin: non trouvé sur AUR
xfce4-power-manager: non trouvé sur AUR
xfce4-quicklauncher-plugin: non trouvé sur AUR
xfce4-screenshooter: non trouvé sur AUR
xfce4-sensors-plugin: non trouvé sur AUR
xfce4-session: non trouvé sur AUR
xfce4-settings: non trouvé sur AUR
xfce4-smartbookmark-plugin: non trouvé sur AUR
xfce4-systemload-plugin: non trouvé sur AUR
xfce4-taskmanager: non trouvé sur AUR
xfce4-timer-plugin: non trouvé sur AUR
xfce4-verve-plugin: non trouvé sur AUR
xfce4-wavelan-plugin: non trouvé sur AUR
xfce4-weather-plugin: non trouvé sur AUR
xfce4-xfapplet-plugin: non trouvé sur AUR
xfce4-xkb-plugin: non trouvé sur AUR
xfconf: non trouvé sur AUR
xfdesktop: non trouvé sur AUR
xfprint: non trouvé sur AUR
xfwm4: non trouvé sur AUR
xfwm4-themes: non trouvé sur AUR
xine-lib: non trouvé sur AUR
xineramaproto: non trouvé sur AUR
xkeyboard-config: non trouvé sur AUR
xmlstarlet: à jour
xorg-apps: non trouvé sur AUR
xorg-docs: non trouvé sur AUR
xorg-font-utils: non trouvé sur AUR
xorg-fonts-100dpi: non trouvé sur AUR
xorg-fonts-75dpi: non trouvé sur AUR
xorg-fonts-alias: non trouvé sur AUR
xorg-fonts-encodings: non trouvé sur AUR
xorg-fonts-misc: non trouvé sur AUR
xorg-res-utils: non trouvé sur AUR
xorg-server: non trouvé sur AUR
xorg-server-utils: non trouvé sur AUR
xorg-twm: non trouvé sur AUR
xorg-utils: non trouvé sur AUR
xorg-xauth: non trouvé sur AUR
xorg-xinit: non trouvé sur AUR
xorg-xkb-utils: non trouvé sur AUR
xproto: non trouvé sur AUR
xscreensaver-arch-logo: à jour
xterm: non trouvé sur AUR
xulrunner: non trouvé sur AUR
xvidcore: non trouvé sur AUR
zip: non trouvé sur AUR
zvbi: non trouvé sur AUR
Last edited by alphazo (2010-04-02 18:22:23)It seems your sync database got messed up somehow, especially based on your other post with issues doing a pacman -Syu. I suspect the advice to run pacman -Syy (or yaourt -Syy) should fix this problem as well.
-
[SOLVED] lost pacman sync db of installd pakages
hi.
as I said, I lost pacman database off installd pakages.
─(simke@philander:pts/0)─────────────────────────────────────────────────(~)─┐
└─(21:33:%)── pacman -Q ──(Mon,May18)─┘
┌─(simke@philander:pts/0)─────────────────────────────────────────────────(~)─┐
└─(21:34:%)── ──(Mon,May18)─┘
I installd pacman-cage and ih faild tu, what eve hi nead to do, end I now nead install all dependencies agein.
┌─(simke@philander:pts/0)─────────────────────────────────────────────────(~)─┐
└─(21:34:%)── pS openbox ──(Mon,May18)─┘
resolving dependencies...
looking for inter-conflicts...
Targets (46): xcb-proto-1.4-1 xproto-7.0.15-1 kernel-headers-2.6.29.1-1
tzdata-2009g-1 glibc-2.9-7 libxdmcp-1.0.2-2 libxau-1.0.4-1
libxcb-1.2-1 kbproto-1.0.3-2 libx11-1.2.1-1 libice-1.0.5-1
ncurses-5.7-2 readline-5.2.013-2 bash-3.2.048-3
e2fsprogs-1.41.5-2 libsm-1.1.0-1 xcb-util-0.3.4-2
startup-notification-0.10-1 zlib-1.2.3.3-3 libxml2-2.7.3-1
inputproto-1.5.0-1 xextproto-7.0.5-1 libxext-1.0.5-2
xineramaproto-1.1.2-2 libxinerama-1.0.3-2 renderproto-0.9.3-2
libxrender-0.9.4-2 randrproto-1.3.0-1 libxrandr-1.3.0-1
fixesproto-4.0-3 libxfixes-4.0.3-2 libxcursor-1.1.9-2
gcc-libs-4.4.0-1 pcre-7.9-1 glib2-2.20.1-1 libpng-1.2.36-1
freetype2-2.3.9-2 expat-2.0.1-2 fontconfig-2.6.0-2
pixman-0.14.0-2 cairo-1.8.6-1 libxft-2.1.13-1
libdatrie-0.2.2-1 libthai-0.1.11-1 pango-1.24.2-1
openbox-3.4.7.2-2
Total Download Size: 30.50 MB
Total Installed Size: 115.61 MB
Proceed with installation? [Y/n]
and, I think, that I wiil not get an updates.
I have installd pacamn-cage, end hi did not finish, what ever hi nead tu.
pleas help.
sorry for bed eanglish, I am from croatia.
Last edited by simke (2009-05-18 20:20:05)I find it, it is in
/var/lib/pacman/pacman.bak/pacman.bak/local
but there are folders whit name of all installd pakages.
how can I now retrive my db. can I do that vhit this information. and how.
could I yust c/p those folders tu, where they nead to bee.
Last edited by simke (2009-05-18 20:10:36) -
Lost Pacman Installed Package Databse
On one of my Arch machines I seemed to have lost something for Pacman as 'Pacman -Q' gives absolutely no results.
I've searched on both the forum & the wiki but I guess I'm too stupid to get the right search term to come up with anything. I still have the packages in /var/cache/pacman/pkg and a lot in /var/lib/pacman, so I don't know what it is I lost.
Any ideas guys?An improvement on rdt's script. This assumes (as did his) that package names do not have spaces in them.
It has the advantages of:
- replace 4 calls in a pipe with 1 call
- does not report packages that were removed since being installed
- is hopefully easier to read
- checks the correct column for 'upgraded' or 'installed' and not the entire line, ie will not report a line that says something along the lines of "warning: we upgraded your rc file"
awk '
$3 == "installed" || $3 == "upgraded" { pkg[$4] = 1 }
$3 == "removed" { pkg[$4] = 0 }
END { for (i in pkg) if ( pkg[i] == 1 ) print i; }
' /var/log/pacman.log -
How do I remove the "Lost Phone" message from my IPhone4?
I recently upgraded my IPhone 4 to an IPhone 5c. In the process my old IPhone 4 was deactivated, by using the "Find My Phone" Icon. All is fine now, except that there is a message remains that states, "My IPhone is lost, please call (XXX) XXX-XXXX, which is of course my phone number. The question is how can I removed that message? Please note that that the IPhone 4 has already been erased and removed from my device list, on ICloud.
I would like to now dispose of my old phone, but do not want to leave my telephone number on it. Any assistance would be appreciated.
benroscoSelect the "Dot", then "Gestures", chose a Gesture Square, Assistive Touch, Off.
-
Yaourt suddenly asking for root password, pacman-color [NEVERMIND]
So just a few days ago I started getting the following whenever I try to install something from yaourt:
==> Continue building boxee-source ? [Y/n]
==> --------------------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for boxee-source:
Password: <just to see what's up I type the wrong password...>
su: incorrect password
Password:
bash: pacman-color: command not found
Any ideas why yaourt is invoking su and trying to invoke pacman-color? I can't install anything from aur using yaourt anymore, it always ends up failing:
Password:
bash: pacman-color: command not found
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-mgalgs/
==> WARNING: Following packages have not been installed:
db4.5
==> WARNING: Dependencies have been installed before the failure
==> Restart building python24 ? [y/N]
==> ---------------------------------
==>
==> WARNING: Following packages have not been installed:
python24
==> WARNING: Dependencies have been installed before the failure
==> Restart building boxee-source ? [y/N]
==> -------------------------------------
==>
==> WARNING: Following packages have not been installed:
boxee-source
(I'm showing boxee-source here, but the same thing happens with any aur package...)
thanks!
Last edited by mitch_feaster (2011-03-22 15:39:32)Ouch, guess I'll just run along then... I don't remember enabling testing but I'll have to double-check.
su is being invoked before pacman, which is why I've done nothing more with it than try (unsuccessfully) to install it with yaourt... But I'll just be getting off y'all's front lawn now... -
White patch after removing row from JTable
I am working with JTable and removing item from table on clicking on button but after removing row there is white Patch on that row. I don�t want to show this white patch.
I did repaint table but that is also not working.
Any thoughts !!!!!!!javax.swing.SwingUtilities.invokeLater(new Runnable(){
public void run(){
museTable.setBackground(Color.black);//your color here
}); -
Unsupported product patches being removed 1st January 2015
Greetings all.
The news banner on the support site stated that from 1st January 2015 all patches for unsupported products will be removed from the site.
That news banner was replaced when I just checked with the latest news, so I cannot confirm whether this decision is still valid.
Previously, the existing patches for older products continued to be available.
As a person involved in persuading people to stay with Novell products, I first have to fix what they have (which is typically older versions), then upgrade them after proving that the product CAN work properly. The upgrade process in many cases also requires patches for the existing product or an intermediate product.
I recommend people that may be affected:
1. Download any required patches and updates now.
2. Contact Novell requesting they reconsider this policy or extend the deadline.
Regards
Ian BlackwoodHere's what the person that deals with patch management for Novell says:
Hi Ian
Your forum post regarding the scheduled removal of patches for unsupported products at the beginning of 2015 was forwarded to me. The decision still holds and the banner is still up at http://download.novell.com/patch/finder/.
Patches will be archived and customers who need a patch for an obsolete product will still be able to request an older patch by contacting Support and opening an SR.
You suggest we extend the deadline for taking the patches down. How long would you recommend? Keeping outdated products listed on the download sites is expensive and confuses customers; but I am curious to hear how long of an extension would be adequate and how else you think we can warn our customers that the patches will soon no longer be accessible via Patch Finder.
Best regards,
Edith -
(solved) repositories configured after removal/installation of Pacman
Hi!
I just had a wierd problem with Pacman : when I typed
pacman -Syu
it said that it was unable to get core.db.tar.gz and so on for other repos.
Then, I found a post that said the person had uninstalled pacman using
pacman -R pacman
Well, I tried to do by downloading the tarred package, then extracted it then :
./configure --prefix=/usr/bin --exec-prefix=/usr/bin && make && make install && make clean
Now, when I type pacman -Syu, it returns :
error: no usable package repositories configured.
Here are my config files :
/etc/pacman.conf
# /etc/pacman.conf
# See the pacman manpage for option 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
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
# 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
# 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.
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Server = ftp://ftp.archlinux.org/core/os/i686
# 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]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# Unstable is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[unstable]
#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
and /etc/aacman.d/mirrorlist
# Arch Linux repository mirrorlist
# United States
Server = ftp://ftp.archlinux.org/$repo/os/i686
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
Server = ftp://mirrors.unixheads.org/archlinux/$repo/os/i686
Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://holmes.umflint.edu/archlinux/$repo/os/i686
Server = http://mirror.neotuli.net/arch/$repo/os/i686
# South America
# - Brazil
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/i686
#Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/i686
#Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
# Europe
# - Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686
# - Belgium
#Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/i686
# - Czech Republic
#Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
# - Estonia
#Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/i686
# - France
#Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686
#Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/i686
#Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/i686
#Server = http://mir.archlinux.fr/$repo/os/i686
#Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/i686
# - Germany
#Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.archlinuxppc.org/i686/$repo/os/i686
#Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
## - Great Britain
#Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/i686
# - Greece
#Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
# - Hungary
#Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/i686
# - Ireland
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/i686
# - Italy
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
# - Netherlands
#Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/i686
#Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/i686
# - Poland
#Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/i686
#Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
# - Portugal
#Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
# - Romania
#Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/i686
# - Russia
#Server = ftp://mirror.yandex.ru/archlinux/$repo/os/i686
#Server = http://archlinux.freeside.ru/$repo/os/i686
# - Sweden
#Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.gigabit.nu/$repo/os/i686
# - Switzerland
#Server = ftp://archlinux.puzzle.ch/$repo/os/i686
# - Turkey
#Server = http://server.elsistech.com/archlinux/$repo/os/i686
# - Ukraine
#Server = ftp://hell.org.ua/archlinux/$repo/os/i686
# NOTE: ftp.linux.kiev.ua only has the i686 arch and not x86_64
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/i686
# Asia
# - Israel
#Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/i686
# Australia
#Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
#Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
What's the problem? Thank you!
Last edited by valandil (2008-03-13 12:52:19)Thanks guys, it worked.
However, now pacman returns this to pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : No address record
error: failed retrieving file 'core.db.tar.gz' from locke.suu.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirrors.unixheads.org : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp-linux.cc.gatech.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirrors.easynews.com : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.ibiblio.org : No address record
error: failed retrieving file 'core.db.tar.gz' from holmes.umflint.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirror.neotuli.net : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.linux.kiev.ua : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.archlinux.org : No address record
error: failed retrieving file 'extra.db.tar.gz' from locke.suu.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirrors.unixheads.org : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp-linux.cc.gatech.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirrors.easynews.com : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.ibiblio.org : No address record
error: failed retrieving file 'extra.db.tar.gz' from holmes.umflint.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirror.neotuli.net : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.linux.kiev.ua : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.archlinux.org : No address record
error: failed retrieving file 'community.db.tar.gz' from locke.suu.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirrors.unixheads.org : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp-linux.cc.gatech.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirrors.easynews.com : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.ibiblio.org : No address record
error: failed retrieving file 'community.db.tar.gz' from holmes.umflint.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirror.neotuli.net : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.linux.kiev.ua : No address record -
Xfce4 and compiz removal problem: lost workspaces
hi all, i tried installing compiz into my archlinux with xfce4, but after removal, it modified my configuration and i can now use only 1 workspace instead of multiples. i tried with system settings and i cannot change my workspaces number (which is set to 1). any help? where should i watch? i would rather prefer not loosing my xfce configuration...
thanksdid you try to access workspace config through <menu> - <settings> - <workspaces>?
i had the same problem and was able to solve the issue by increasing the number of workspaces in the mentioned menu...
hope this helps,
ralph -
Removing a lost firmware passsword
Hi Guys, and Gals
I read through a lot of posts, and found some info on the subject, but it was incomplete.
I bought an iMac 450 DV from a junk computer seller on ebay. The previous owner set the firmware password, and no one knows, even, who that was. I was going to wipe the drive, but I can't even do that. The kb article I read said you can clear it if you have access to the inside of the case, but it didn't explain how. It did say that after resetting the PRAM, you need to reset the password. So, I assumed I could physically reset the PRAM from inside the case. I opened it up, and pressed the ?CUDA? button, holding it down for about 30 seconds, but, no Glory, its still locked.
Anyone?Hi Donna,
The firmware controls the boot process. A password can be set at that level that essentially locks the controls. With out knowing the password, you can't boot from a CD/DVD or into single user mode. You can't even reset the PRAM, or option boot to a different drive. You can boot into Open Firmware, but can't make any changes.
http://docs.info.apple.com/article.html?artnum=106482
I know there is a way to disable it. I just don't know how, and am hoping someone here does.
Rick
DP1.2GHzDA, MaxRAM, SuperDrive, Zip250 Mac OS X (10.4.3) Too mudh to list -
Yaourt - Bad Install? Trying to remove and install properly...
Hello all, I just posted in the "Newbie Announcement Thread" and I'm about as new to Linux as someone can get. I picked up the Arch ISO a few days ago and followed the Beginners Guide on the wiki and have installed Xfce4 and GDM on my Sony Laptop so far. I was looking for a AUR Helper and thought to go with Yaourt based on some brief search results.
I goofed up, and got impatient i think ... please be gentle.
I downloaded http://mir.archlinux.fr/~tuxce/releases … 0.1.tar.gz from the AUR and extracted it.
[durzo@PCNAME ~]$ cd /home/durzo/yaourt-1.0.1
bash: cd: /home/nexus/yaourt-1.0.1: No such file or directory
[durzo@PCNAME ~]$ cd /home/durzo/Downloads/yaourt-1.0.1
[durzo@PCNAME yaourt-1.0.1]$ make install
GEN yaourt.sh
GEN pacdiffviewer.sh
GEN lib/util.sh
GEN lib/pkgbuild.sh
GEN lib/pacman.sh
GEN lib/abs.sh
/bin/install -d /usr/local/bin
/bin/install -d /usr/local/lib/yaourt
/bin/install: cannot change permissions of `/usr/local/lib/yaourt': No such file or directory
make: *** [install] Error 1
[durzo@PCNAME yaourt-1.0.1]$ sudo make install
Password:
/bin/install -d /usr/local/bin
/bin/install -d /usr/local/lib/yaourt
/bin/install -d /usr/local/etc
/bin/install -d /usr/local/etc/bash_completion.d
/bin/install -d /usr/local/share/man/man{5,8}
# Scripts
/bin/install -m755 yaourt.sh /usr/local/bin/yaourt
/bin/install -m755 pacdiffviewer.sh /usr/local/bin/pacdiffviewer
# Configuration
/bin/install -m644 yaourtrc /usr/local/etc/yaourtrc
/bin/install -m644 bashcompletion /usr/local/etc/bash_completion.d/yaourt
# Libs
/bin/install -m644 lib/alpm_backup.sh /usr/local/lib/yaourt
/bin/install -m644 lib/alpm_query.sh /usr/local/lib/yaourt
/bin/install -m644 lib/alpm_stats.sh /usr/local/lib/yaourt
/bin/install -m644 lib/abs.sh /usr/local/lib/yaourt
/bin/install -m644 lib/aur.sh /usr/local/lib/yaourt
/bin/install -m644 lib/util.sh /usr/local/lib/yaourt
/bin/install -m644 lib/io.sh /usr/local/lib/yaourt
/bin/install -m644 lib/pacman.sh /usr/local/lib/yaourt
/bin/install -m644 lib/pkgbuild.sh /usr/local/lib/yaourt
/bin/install -m644 lib/misc.sh /usr/local/lib/yaourt
# Man
/bin/install -m644 man/*.5 /usr/local/share/man/man5
/bin/install -m644 man/*.8 /usr/local/share/man/man8
# Locales
test -x /usr/bin/msgfmt && for file in po/*/*.po; \
do \
package=$(echo $file | /bin/sed -e 's#po/\([^/]\+\).*#\1#'); \
lang=$(echo $file | /bin/sed -e 's#.*/\([^/]\+\).po#\1#'); \
/bin/install -d /usr/local/share/locale/$lang/LC_MESSAGES; \
/usr/bin/msgfmt -o /usr/local/share/locale/$lang/LC_MESSAGES/$package.mo $file; \
done
[durzo@PCNAME yaourt-1.0.1]$ yaourt
error: no operation specified (use -h for help)
[durzo@PCNAME yaourt-1.0.1]$ yaourt -h
Usage: yaourt <operation> [...]
operations:
yaourt (search pattern|package file)
yaourt {-h --help}
yaourt {-V --version}
yaourt {-Q --query} [options] [package(s)]
yaourt {-R --remove} [options] <package(s)>
yaourt {-S --sync} [options] [package(s)]
yaourt {-U --upgrade} [options] <package(s)>
yaourt {-C --clean} [options]
yaourt {-B --backup} [save directory|restore file]
yaourt {-G --getpkgbuild} [options] <package(s)>
yaourt {--stats}
I'm thinking I had more steps to do maybe? or was "make install" it? I ask because pacman does not see Yaourt installed so i cannot "pacman -Rns yaourt" and i'm getting an error when I try to do anything with yaourt.
[durzo@PCNAME ~]$ sudo pacman -Rns yaourt
Password:
error: target not found: yaourt
[durzo@PCNAME ~]$ yaourt -Syua
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
==> WARNING: problem in pkgbuild.sh library
/usr/local/lib/yaourt/util.sh: line 163: package-query: command not found
/usr/local/lib/yaourt/util.sh: line 163: package-query: command not found
/usr/local/lib/yaourt/util.sh: line 163: package-query: command not found
[durzo@PCNAME ~]$
Did I do something wrong to break yaourt or is this something different that i'm missing? I do not think i have the "package-query" package installed that is available on the AUR, but i didn't know it needed to be installed along with yaourt.Durzo wrote:
tomk wrote:Durzo, I'm sure you're delighted you got yaourt installed, and hopefully you learned something, but IMO you're getting off to a bad start. Others have already said it, but it's worth saying again - fi you're going to use the AUR, learn how it works first before you start using any helper application. Your self-confessed uber-noobiness makes this an even more crucial requirement.
As meph mentioned, I too intended on having Yaourt only install AUR packages keeping pacman the primary in package installation.
The point is to know how to use the AUR without relying on a helper, because yaourt is more than a 'helper'. Something like 'cower' is much more of a helper in that you still have to take care of the main steps yourself. Using yaourt instead of pacman for -Syu doesn't change much, its using it as a 'pacman for the AUR' which can cause confusion. Which is as well the only reason to use it....
Durzo wrote:"learn how it works first" ...do you mean download each tarball PKGBUILD from the AUR separately, and then install with the "makepkg -is" command?
Yes. The fact that you even know that's what you have to do is already good (perhaps better than those who have right-away gone for yaourt).
There's no inherent 'negative' to yaourt (if you ignore the fact that it may not work following some pacman/libarchive upgrades) if you know how to live without it. -
Kdemod removed from pacman.conf but not from /var/lib/pacman
Hello all
I have been using kdemod repository for some time.
Since I use Gnome I have removed all my kde/qt applications and I have removed kdemod repository from pacman.conf
Is it normal to still have kdemod into /var/lib/pacman ?
Can I safely remove /var/lib/pacman/kdemod (not /var/lib/pacman of course) ?
Why pacman does not remove it when syncing if no more present in pacman.conf ?
Is it a bug ? a feature ?
Thank you for your help !
Cheers,
Chicha.shining wrote:I think this has little interest, since the repo will be downloaded again on next -Sy anyway.
It's probably neither a bug, nor a feature, rather the lack of a feature, because checking that
some folders in /var/lib/pacman/ doesn't match a section in pacman.conf would require extra code.
Ooops I thought I checked for this hehe.
Are you sure pacman downloads the whole database everytime?
I just did an update:
yaourt -Sy
:: Synchronizing package databases...
testing is up to date
current is up to date
extra 270.5K 299.4K/s 00:00:01 [##################################################] 100%
community 291.4K 302.8K/s 00:00:01 [################################################] 100%
compiz-fusion is up to date
local database is up to date
If a repo is uptodate it doesn't download the database, so pacman must check that somehow.
Also, it show that to sync extra, 270.5K was transferred, is that the entire extra repo?
When I check the size of /var/lib/pacman/extra it's 5.7 Megs. Maybe the repo is compressed,
transferred, and then decompressed on each sync.
If that's the case, as you say my argument doesn't hold much water -
[SOLVED]yaourt fail pacman/-color when upgrade sudo to version 1.8.0-1
same sudoers:
with sudo-1.8.0-1:
[sl1pkn07@SpinFlo ~]$ yaourt -Syu
Contraseña:
You are not allowed to launch pacman-color with sudo
Please enter root password
with sudo-1.7.4.p6-1
[sl1pkn07@SpinFlo ~]$ yaourt -Syu
Contraseña:
:: Sincronizando las bases de datos de paquetes...
is pacman-color/pacman blacklisted?
greetings
EDIT: change title
Last edited by sl1pkn07 (2013-01-31 02:48:12)sl1pkn07 wrote:
yes. pacman color/pacman works with sudo. but when using with yaourt, fails
[sl1pkn07@SpinFlo scripts]$ sudo pacman -Syu
Contraseña:
:: Sincronizando las bases de datos de paquetes...
^C
Interrupt signal received
[sl1pkn07@SpinFlo scripts]$ sudo pacman-color -Syu
:: Sincronizando las bases de datos de paquetes...
^C
Interrupt signal received
[sl1pkn07@SpinFlo scripts]$ yaourt -Syu
You are not allowed to launch pacman with sudo
Please enter root password
Contraseña:
[sl1pkn07@SpinFlo scripts]$ sudo nano /etc/yaourtrc (change between pacman and pacman-color)
[sl1pkn07@SpinFlo scripts]$ yaourt -Syu
You are not allowed to launch pacman-color with sudo
Please enter root password
Contraseña:
[sl1pkn07@SpinFlo scripts]$
it's the same for me too.. sudo pacman ok.. but yaourt ask for root password... -
Removed ip access-list & lost network connectivity
An access-list was removed to edit and replace. Once the access-list was removed we lost network connectivity to the remote router. This list is an extensive one. But when we remove on other remote routers network connectivity remained. Can anyone tell me why? Is this a typical of access-list, and good practice is to wait until after business hours?
No problem.
I am sure that we have all had experiences of looking at things we have written, or questions answered, and realized that what we wrote was not quite what we were thinking as we created it.
Your main point is well taken that it is good practice to remove the access-group before removing and changing the content of access lists.
Sometimes I take a slightly different approach: I will build a new version of the access list using a different number (if I am changing access list 101, I may create list 102) which is the modified version of the list. I then change the access-group to reference the new version of the list. This may have a couple of advantages including the fact that the interface is always protected by some access list. Also it makes backing out changes easier if we discover that there was some flaw in our list modification.
HTH
Rick
Maybe you are looking for
-
HOW DO I Move time machine to a larger hard disk
My time machine disk has two partions for the twp OS I am running --Snow leopard on internal and Lion on external disk Error message saying that there is not enough room toback up Lion. How to I move the contents of time machine to a larger disk?
-
Hello everyone, I've successfully imported a 3D file from Photoshop Extended CS4 into AE CS4. In AE, I can sucessfully animate rotation of the 3D object. Here's the problem : I cannot change the 3D object's anchor point. I've tried changing the ancho
-
Sticky Notes/Yellow Notes, like post-its for your ...
i have been using these three products for some time and have had no issues with them at all. a nice graphical one is the Sticky Notes, in EXTRAS-DEVEL it allows you to add as many "sticky" notes to your desktop as you would like and can be over-lapp
-
When i plug my iphone into my computer and try to sync it with my itues library, a message comes up saying I can't sync until i update itues. When i try to update itunes, a message pops up that says itunes cannot find a pathway to my computer and it
-
How can I make presenter notes longer on presentation display?
They currently only show about 3 lines at a time when im rehearsing my presentation and would like to change that so i can see more of my notes when Im presenting.