You are not logged in.
Pages: 1
I'm new to Arch and came from the debian based distros until I got tired of blender and ffmpeg not working the way I wanted it to as it does so far in arch and I figured I installed most of my apps via apt-get and figured why not try it.
pacman freezes when i do a update.
sudo pacman -Syu
Password:
:: Synchronizing package databases...
core is up to date
pacman won't stop running, it's been saying the core was up to date for a few minutes and there's no prompt for new commands. I have to kill pacman and remove /var/lib/pacman/db.lck as root.
Is this normal?
Oh yeah, on a side question, How can you tell if a package is safe to install from yaourt? I heard you read the text files, but I don't know what to look for or what the big red flags look like.
Last edited by commodore256 (2009-09-02 00:06:42)
Offline
No, that's not normal. Try using a different mirror by moving it to the top of /etc/pacman.d/mirrorlist.
A big red flag would be "sudo rm -fr /" or some other blatantly malicious code. Less subtle flags would be pulling in sources from non-project related sites, doing anything that is not related to building the packages, etc. There is no limited set of "malicious commands" to check for. You just have to look at the PKGBUILD and the install script and try to evaluate what they are doing.
You can also take the packager into consideration but you should still check the files to avoid becoming careless.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
No, that's not normal. Try using a different mirror by moving it to the top of /etc/pacman.d/mirrorlist.
A big red flag would be "sudo rm -fr /" or some other blatantly malicious code. Less subtle flags would be pulling in sources from non-project related sites, doing anything that is not related to building the packages, etc. There is no limited set of "malicious commands" to check for. You just have to look at the PKGBUILD and the install script and try to evaluate what they are doing.
You can also take the packager into consideration but you should still check the files to avoid becoming careless.
OK, I'll change my Mirror.
Even I know what "sudo rm -rf /" does, I just wanna make sure if there aren't any root kits or anything that could steal my personal data like paypal accounts and stuff or maybe a virus.
Offline
OK, here's my mirrorlist
# Mirror used during installation
Server = ftp://mirror.internode.on.net/pub/archlinux/$repo/os/i686
#
# Arch Linux repository mirrorlist
# Generated on 2009-06-16
#
# Australia
#Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
#Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
#Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
#Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
#Server = ftp://mirror.internode.on.net/pub/archlinux/$repo/os/i686
#Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/i686
#Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
#Server = http://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
# Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686
#Server = http://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686
# Belgium
#Server = ftp://ftp.belnet.be/packages/archlinux/$repo/os/i686
#Server = http://ftp.belnet.be/mirror/archlinux.org/$repo/os/i686
# Brazil
#Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/i686
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/i686
#Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
#Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
#Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/i686
# Bulgaria
#Server = http://archlinux.igor.onlinedirect.bg/$repo/os/i686
# Canada
#Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/i686
#Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/i686
#Server = ftp://mirrors.portafixe.com/archlinux/$repo/os/i686
#Server = http://mirrors.portafixe.com/archlinux/$repo/os/i686
# Chile
#Server = ftp://mirror.archlinux.cl/$repo/os/i686
# Czech Republic
#Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
#Server = http://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
# Denmark
#Server = ftp://ftp.klid.dk/archlinux/$repo/os/i686
# Estonia
#Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/i686
#Server = http://ftp.estpak.ee/pub/archlinux/$repo/os/i686
# Finland
#Server = ftp://mirror.archlinux.fi/$repo/os/i686
#Server = http://mirror.archlinux.fi/$repo/os/i686
# France
#Server = http://mir.archlinux.fr/$repo/os/i686
#Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686
#Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/i686
#Server = http://mir1.archlinuxfr.org/archlinux/$repo/os/i686
#Server = http://mir2.archlinuxfr.org/archlinux/$repo/os/i686
#Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/i686
#Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/i686
# Germany
#Server = ftp://ftp.archlinuxppc.org/i686/$repo/os/i686
#Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/i686
#Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/i686
#Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/i686
#Server = ftp://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/i686
#Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/i686
#Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.wh-stuttgart.net/archlinux/$repo/os/i686
# Great Britain
#Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/i686
#Server = http://mirror.lividpenguin.com/pub/archlinux/$repo/os/i686
#Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/i686
#Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/i686
#Server = http://archlinux.mirrors.uk2.net/$repo/os/i686
# Greece
#Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.otenet.gr/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/i686
# Hungary
#Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/i686
# Indonesia
#Server = ftp://archlinux.cbn.net.id/pub/archlinux/$repo/os/i686
#Server = http://archlinux.cbn.net.id/$repo/os/i686
#Server = ftp://mirror.unej.ac.id/archlinux/$repo/os/i686
#Server = http://mirror.unej.ac.id/archlinux/$repo/os/i686
# Ireland
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/i686
# Israel
#Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/i686
# Italy
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
#Server = http://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
# Japan
#Server = ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/archlinux/$repo/os/i686
#Server = http://ftp.yz.yamagata-u.ac.jp/pub/linux/archlinux/$repo/os/i686
# Latvia
#Server = http://archlinux.goodsoft.lv/$repo/os/i686
# Lithuania
#Server = ftp://atviras.lt/archmirror/$repo/os/i686
#Server = http://atviras.lt/archmirror/$repo/os/i686
# Netherlands
#Server = ftp://mirror.leaseweb.com/archlinux/$repo/os/i686
#Server = http://mirror.leaseweb.com/archlinux/$repo/os/i686
#Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/i686
#Server = http://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/i686
#Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/i686
#Server = http://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/i686
# New Caledonia
#Server = ftp://archlinux.nautile.nc/archlinux/$repo/os/i686
#Server = http://archlinux.nautile.nc/archlinux/$repo/os/i686
# Norway
#Server = ftp://mirror.archlinux.no/$repo/os/i686
#Server = http://mirror.archlinux.no/$repo/os/i686
# Poland
#Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/i686
#Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp.pwsz.elblag.pl/pub/linux/distributions/archlinux/$repo/os/i686
#Server = http://ftp.pwsz.elblag.pl/pub/linux/distributions/archlinux/$repo/os/i686
#Server = http://unix.net.pl/archlinux.org/$repo/os/i686
# Portugal
#Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
#Server = http://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
#Server = http://darkstar.ist.utl.pt/archlinux/$repo/os/i686
#Server = ftp://ftp.nux.ipb.pt/pub/dists/archlinux/$repo/os/i686
#Server = http://ftp.nux.ipb.pt/pub/dists/archlinux/$repo/os/i686
# Romania
#Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/i686
#Server = http://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/i686
# Russia
#Server = http://archlinux.freeside.ru/$repo/os/i686
#Server = ftp://mirror.svk.su/archlinux/$repo/os/i686
#Server = http://mirror.svk.su/archlinux/$repo/os/i686
#Server = ftp://mirror.yandex.ru/archlinux/$repo/os/i686
#Server = http://mirror.yandex.ru/archlinux/$repo/os/i686
# Sweden
#Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
#Server = http://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.gigabit.nu/$repo/os/i686
#Server = http://ftp.gigabit.nu/$repo/os/i686
# Switzerland
#Server = ftp://archlinux.puzzle.ch/$repo/os/i686
#Server = http://archlinux.puzzle.ch/$repo/os/i686
# Turkey
#Server = ftp://ftp.linux.org.tr/archlinux/$repo/os/i686
# Ukraine
#Server = ftp://archlinux.hell.org.ua/archlinux/$repo/os/i686
#Server = http://archlinux.hell.org.ua/archlinux/$repo/os/i686
#Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/i686
#Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/i686
# United States
#Server = http://mirror.archlinux.com.ve/$repo/os/i686
#Server = http://archlinux.unixheads.org/$repo/os/i686
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
#Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
#Server = ftp://mirrors.easynews.com/linux/archlinux/$repo/os/i686
#Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.archlinux.org/$repo/os/i686
#Server = http://mirrors.gigenet.com/archlinux/$repo/os/i686
#Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
#Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
#Server = ftp://mirrors.hosef.org/archlinux/$repo/os/i686
#Server = http://mirrors.hosef.org/archlinux/$repo/os/i686
#Server = ftp://ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
#Server = http://distro.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
#Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
#Server = ftp://mirror.rit.edu/archlinux/$repo/os/i686
#Server = http://mirror.rit.edu/archlinux/$repo/os/i686
#Server = http://schlunix.org/archlinux/$repo/os/i686
#Server = http://mirror.sourceshare.org/archlinux/$repo/os/i686
#Server = http://archlinux.umflint.edu/$repo/os/i686
#Server = http://mirror.umoss.org/archlinux/$repo/os/i686
# Venezuela
#Server = http://mirror2.archlinux.com.ve/$repo/os/i686
# Vietnam
#Server = ftp://202.78.230.5/archlinux/$repo/os/i686
#Server = ftp://ftp.indochinalinux.com/archlinux/$repo/os/i686
#Server = ftp://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/i686
#Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/i686
What mirror should I use? and what should my mirorlist look like so I don't mess it up?
I just got this error trying to update
sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
error: failed retrieving file 'extra.db.tar.gz' from mirror.internode.on.net : Not logged in
error: failed to update extra (Not logged in)
error: failed retrieving file 'community.db.tar.gz' from mirror.internode.on.net : Not logged in
error: failed to update community (Not logged in)
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (11): eina-svn-42091-1 eet-svn-42060-1 evas-svn-41975-1
ecore-svn-42087-1 fakeroot-1.13-1 git-1.6.4.2-1 hdparm-9.22-2
libogg-1.1.4-1 libvorbis-1.2.3-1 pciutils-3.1.4-1
wine-1.1.27-1
Total Download Size: 25.60 MB
Total Installed Size: 106.81 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
error: failed retrieving file 'fakeroot-1.13-1-i686.pkg.tar.gz' from mirror.internode.on.net : Not logged in
error: failed retrieving file 'hdparm-9.22-2-i686.pkg.tar.gz' from mirror.internode.on.net : Not logged in
error: failed retrieving file 'pciutils-3.1.4-1-i686.pkg.tar.gz' from mirror.internode.on.net : Not logged in
warning: failed to retrieve some files from core
error: failed to commit transaction (Not logged in)
Errors occurred, no packages were upgraded.
I'm kinda glad it failed, I didn't wanna update wine. (Even though it says "#NoUpgrade = wine" and "#IgnorePkg = wine" in my my pacman.conf)
here's my 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 %u > %o
#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg = wine
#IgnoreGroup =
#NoUpgrade =
#NoExtract = wine
# Misc options (all disabled by default)
#NoPassiveFtp
#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
#
# 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]
# 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
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
What should it look like if I don't want wine to update itself?
Offline
#IgnorePkg = wine
You want to remove the leading "#" there...
#NoExtract = wine
And I have no idea what you are trying to do there
Offline
I wanna keep it the way it is.
I was trying to put in "#NoUpgrade = wine" (they're one line off and I screwed it up) lol
Last edited by commodore256 (2009-09-02 01:58:55)
Offline
Try using a mirror near you.
Btw, in general, lines which begin with "#" are comments and ignored by whatever is reading them. You should probably take some time to read through "man pacman" and "man pacman.conf".
Also, why do you not want to upgrade wine?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Also this is useful to detect the status of mirrors and how up to date they are. There have been issues lately.
--
thinkpad X60s [t400s coming soon] | archlinux i686 | xmonad | dmenu |
Offline
FWIW, I just did a big update of my laptop from the Internode mirror without issue. I'm not sure why it's complaining about "not logged in" since Internode is a public mirror without authentication requirements.
Are you behind a transparent proxy with authentication perhaps?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
No, that's not normal. Try using a different mirror by moving it to the top of /etc/pacman.d/mirrorlist.
A big red flag would be "sudo rm -fr /" or some other blatantly malicious code. Less subtle flags would be pulling in sources from non-project related sites, doing anything that is not related to building the packages, etc. There is no limited set of "malicious commands" to check for. You just have to look at the PKGBUILD and the install script and try to evaluate what they are doing.
You can also take the packager into consideration but you should still check the files to avoid becoming careless.
A little off-topic but was there ever a package in the AUR with malicious code ?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
I wanna keep it the way it is.
I was trying to put in "#NoUpgrade = wine" (they're one line off and I screwed it up) lol
You really need to read "man pacman.conf"
Offline
A little off-topic but was there ever a package in the AUR with malicious code ?
Does the Flash plugin count?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
moljac024 wrote:A little off-topic but was there ever a package in the AUR with malicious code ?
Does the Flash plugin count?
Sure it does
This silver ladybug at line 28...
Offline
Try using a mirror near you.
Btw, in general, lines which begin with "#" are comments and ignored by whatever is reading them. You should probably take some time to read through "man pacman" and "man pacman.conf".
Also, why do you not want to upgrade wine?
I should have known about the hash marks. (or "#") I read a little about perl and they said something like this.
The newest version isn't always the best. a wine update broke one of my apps and then I downgraded and it worked fine.
Offline
Thanks, guys, all I needed to do is remove one of the hashes from the repos.
Offline
Completely off-topic, but should we be expecting a "Newbie Questions of September 2nd 2009" thread sometime today?
More seriously, please use a thread title that describes the issue you want to discuss.
Offline
Pages: 1