Is pacman really updating?
Hey everyone, I recently installed Archlinux on my laptop and liking it so far
As I feel like i'm just being a bit stupid, I didn't post this in the pacman topic but in the newbie corner.
I want to check out the new openoffice 2.4 (I'm currently using the 2.3 version), I tried doing a full system upgrade using
sudo pacman -Syu
This outputs that everything is up to date (and a load of packages that are actually newer than core version, I'm not sure how that happened)
I thought that perhaps the package wasn't yet in archlinux' repositories. But if I check out http://www.archlinux.org/packages/searc … e&limit=50 I see that the it's at version 2.4
Doing sudo pacman -S openoffice-base outputs
[root@nandtop nand]# pacman -S openoffice-base
warning: openoffice-base-2.3.1-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets: openoffice-base-2.3.1-2
Total Download Size: 0.00 MB
Total Installed Size: 103.98 MB
Proceed with installation? [Y/n]
As you see, it seems like my system didn't synchronize it's repositories.
Here's my 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]
# 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
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
Thanks in advance!
Thanks, I changed my mirror to yours and now it's updating.
I was using mirrors from The Netherlands whom seem to be out of date.
Similar Messages
-
[SOLVED] After pacman glibc update, cannot find command bash?
A few days ago I ran into a problem after running pacman -Syu that ended up with an unbootable system. I found this topic that ultimately solved the kernel panic-
https://bbs.archlinux.org/viewtopic.php … 1#p1127251
All that was needed was a symlink "/lib" to point to "/usr/lib"
My system now almost boots but luckily I can now get a to a shell (zsh). The problem is that I can not run bash, and various other tools- including my desktop environment and pacman.
I have checked my $path, and have verified that I have the binary file "/usr/bin/bash" and a symlink in /bin/bash to point to that binary file, which does exist...
% ls -l /bin/bash
lrwxrwxrwx 1 root root 13 May 24 23:43 /bin/bash -> /usr/bin/bash
% ls -l /usr/bin/bash
-rwxr-xr-x 1 root root 738008 Mar 13 00:47 /usr/bin/bash
But when I try to start a bash shell or run a script
% bash
zsh: command not found: bash
% pacman
zsh: command not found: pacman
% /usr/bin/bash
zsh: no such file or directory /usr/bin/bash
% cat test.sh
#!/bin/bash
echo "Hello World"
% ./test.sh
zsh: ./test.sh: bad interpreter: /bin/bash: no such file or directory
I hope i was thorough enough in providing information about my system, but please let me know if there's anything else I left out that may be able to help.
Thanks so much!
[SOLVED]- Ended up mounting my system from a live install cd, and copying over each bash binary in my system with the live media's binary.
Last edited by OrangeCrush (2013-05-25 06:38:43)If it has only been a few months, that thread should have nothing to do with what you are experiencing. That problem stemmed from when the filesystem was actually changed from having /lib as an actual directory to /lib as a symlink to /usr/lib. Oh the problems that caused. For me it went perfectly smooth... well I did have to search for and rid /lib of extraneous unowned files, but it was smooth after that.
You say though that you did not have a /lib symlink when you checked, and then you created it? This is odd, as that is part of the filesystem package and therefore a tracked file. Maybe you should start by reinstalling the filesystem package just to make sure that the necessary components of the filesystem are all in order before proceeeding.
BTW, you should really update more often than every "few months" as that is what using a rolling release is all about. Also if you don't update very often still, never update the database (-Sy) without also updating the system (-Syu) as this will lead to partial upgrades, which can severly break your system. So never do "pacman -Sy <package>" as that is the equivalent of doing just a "pacman -Sy" and then continuing on your merry way. Big changes are in the air right now around these parts, so keeping your system up to date is probably going to be crucial in making subsequent updates as pain free as possible (we are heading towards the final /bin -> /usr/bin move!). -
[SOLVED]When pacman is updating linux-headers and linux, catalyst-hook
Hello-
I wanted this to be out there on the web so that people could find it. I'm not sure if this could be considered a 'bug' for catalyst hook or for.. something, or if it is expected behavior.
I ran pacman -Suy on my system today, and ran into errors about catalyst hook failing.
Closer inspection indicated that it was trying to build based on headers of the version of linux that had just been removed, but the new linux headers hadn't been installed yet (after the hooks ran, then the linux-headers were installed)
If you see this error during an upgrade, to resolve the issue simply run mkinitcpio -p linux after the install completes.
Below you can see log/errors/progression
[dylan@shoparch ~]$ sudo pacman -Suy
:: Synchronizing package databases...
catalyst is up to date
core 105.8 KiB 175K/s 00:01 [######################] 100%
extra 1522.0 KiB 1221K/s 00:01 [######################] 100%
community 2.0 MiB 1184K/s 00:02 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Packages (11): chromium-31.0.1650.63-1 grub-1:2.00.1282.g5ae5c54-1
gtk3-3.10.6-1 jasper-1.900.1-10 libpipeline-1.2.5-1
libvpx-1.3.0-1 linux-3.12.3-1 linux-headers-3.12.3-1
lua-5.2.3-1 opus-1.1-1 python2-setuptools-1.4.2-1
Total Download Size: 99.26 MiB
Total Installed Size: 314.59 MiB
Net Upgrade Size: 4.49 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
grub-1:2.00.1282.g5... 5.2 MiB 1438K/s 00:04 [######################] 100%
libpipeline-1.2.5-1... 34.9 KiB 6.82M/s 00:00 [######################] 100%
linux-3.12.3-1-x86_64 49.9 MiB 3.29M/s 00:15 [######################] 100%
linux-headers-3.12.... 5.8 MiB 1890K/s 00:03 [######################] 100%
opus-1.1-1-x86_64 175.2 KiB 1734K/s 00:00 [######################] 100%
chromium-31.0.1650.... 29.0 MiB 2.66M/s 00:11 [######################] 100%
gtk3-3.10.6-1-x86_64 7.9 MiB 2.97M/s 00:03 [######################] 100%
jasper-1.900.1-10-x... 159.8 KiB 181K/s 00:01 [######################] 100%
libvpx-1.3.0-1-x86_64 620.0 KiB 764K/s 00:01 [######################] 100%
lua-5.2.3-1-x86_64 195.9 KiB 1555K/s 00:00 [######################] 100%
python2-setuptools-... 331.9 KiB 1495K/s 00:00 [######################] 100%
(11/11) checking keys in keyring [######################] 100%
(11/11) checking package integrity [######################] 100%
(11/11) loading package files [######################] 100%
(11/11) checking for file conflicts [######################] 100%
(11/11) checking available disk space [######################] 100%
( 1/11) upgrading opus [######################] 100%
( 2/11) upgrading chromium [######################] 100%
( 3/11) upgrading grub [######################] 100%
( 4/11) upgrading gtk3 [######################] 100%
( 5/11) upgrading jasper [######################] 100%
New optional dependencies for jasper
freeglut: for jiv support [installed]
glu: for jiv support [installed]
( 6/11) upgrading libpipeline [######################] 100%
( 7/11) upgrading libvpx [######################] 100%
( 8/11) upgrading linux [######################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.12.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [mdadm_udev]
Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
-> Running build hook: [fglrx]
Building fglrx module for 3.12.3-1-ARCH kernel ...
Failed!!! Check out log: /var/log/catalyst-install.log
- /usr/lib/modules/3.12.2-1-ARCH looks like unused, maybe remove it manualy?
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.12.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
-> Running build hook: [mdadm_udev]
Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
-> Running build hook: [fglrx]
Building fglrx module for 3.12.3-1-ARCH kernel ...
Failed!!! Check out log: /var/log/catalyst-install.log
- /usr/lib/modules/3.12.2-1-ARCH looks like unused, maybe remove it manualy?
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
( 9/11) upgrading linux-headers [######################] 100%
(10/11) upgrading lua [######################] 100%
(11/11) upgrading python2-setuptools [######################] 100%
[dylan@shoparch ~]$ less /var/log/catalyst-install.log
2013-12-08 10:51:04
Building fglrx module for 3.12.3-1-ARCH kernel ...
Kernel header files are absent: directory /usr/lib/modules/3.12.3-1-ARCH/build doesn't exist! Game over
2013-12-08 10:51:12
Building fglrx module for 3.12.3-1-ARCH kernel ...
Kernel header files are absent: directory /usr/lib/modules/3.12.3-1-ARCH/build doesn't exist! Game over
[dylan@shoparch ~]$ sudo mkinitcpio -p linux
[sudo] password for dylan:
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.12.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [mdadm_udev]
Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
-> Running build hook: [fglrx]
Building fglrx module for 3.12.3-1-ARCH kernel ...
Ok.
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.12.3-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
-> Running build hook: [mdadm_udev]
Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
-> Running build hook: [fglrx]
Building fglrx module for 3.12.3-1-ARCH kernel ...
Ok.
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
Last edited by thenextdon13 (2014-01-01 20:21:37)Karol-
That thread doesn't seem to be closed, and the thread it points to doesn't appear to really have a solution either, unless i'm missing something.
clfarron4;
I have this service running, but was concerned by the error message that i wouldn't have gui (and would have to drag out my laptop to do troubleshooting) upon reboot. Next time I will let it be and make sure the service works correctly
That said, I _did_ fix the distrust (or in this case non-rememberance) by running mkinitcpio -p linux. Initial post has this detail in it.
[dylan@shoparch ~]$ sudo systemctl status catalyst-hook.service
[sudo] password for dylan:
catalyst-hook.service - Catalyst's fglrx kernel' module builder
Loaded: loaded (/usr/lib/systemd/system/catalyst-hook.service; enabled)
Active: active (exited) since Sun 2013-12-08 15:50:36 PST; 25min ago
Process: 269 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 269 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/catalyst-hook.service
Dec 08 15:50:36 shoparch systemd[1]: Started Catalyst's fglrx kernel' module builder.
[dylan@shoparch ~]$ -
Pacman -Syu update, System not booting due to systemd
I have just done a full update on pacman, and now my system is not booting due to this message
systemd[1]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator exited with status 127
Does anyone know what is causing this, and what a status code of 127 means?
Last edited by deteego (2013-09-30 13:53:42)cfr wrote:Post fstab and the output of gdisk -l /dev/sdX (or fdisk -l but I'm assuming you are using GPT).
fstab is here https://gist.github.com/mdedetrich/a2976f1c618d51a0c74e
gdisk is here https://gist.github.com/mdedetrich/2017fcb5d33023ccd1bb
Daerandin wrote:Apologies, I seem to have skipped over that. Still, I would like to know if OP have attempted to boot with fstab or not.
fstab originally existed on my OS before the pacman upgrade. After the upgrade I got the error message mentioned above (and obviously the fstab was there since I didn't touch it). Then after reading that linked topic (where a similar error message was the cause of systems not booting due to a fstab), I deleted the fstab (or more accurately, moved it somewhere else)
Last edited by deteego (2013-10-01 02:51:08) -
A KISS systray pacman/aur updates checker for KDE
I have created a simple python-QT script that places an icon in the system tray and informs you when updates for both pacman and AUR are available. Also I created a bash script that does the real package updates checking. The python script depends on python 3, kde which must be installed and PyQt4 perl module. The bash scripts depends on cower.
I could have built the whole functionality in only the python script, but I thought that the best way was to separate the checking and the notification parts to keep it simple and flexible.
I thought that I should share them as they are very convenient for me and they work well for a long time now.
They feature:
- automatically checking for updates both for arch official repos and AUR
- notifies the user by changing the icon accordingly if there are updates available
- by clicking on the icon you get a balloon with a list of the availabe (and ignored) updates for packages
- automatically refreshes after every pacman upgrade/installation/removal of packages
- ability to ignore some updates for packages that you don't wish to upgrade and not get notified for them (but they still get printed as ignored on the list in the icon's balloon)
- no root permission needed
- it only CHECKS and does absolutely nothing else. It does not change your system, your packages or your pacman database.
Here's a quick summary of how they work:
The bash script calls checkupdates and cower -u to produce a list of available updates both for arch official repos and AUR and it stores this list in two temporary files. The python script simply checks those two temporary files each second and gets the package names and updates count, which in turn notifies the user for them. It also checks each second /var/log/pacman for modification (for a way to know when there's been a change in the installed packages) and if it is, then it calls the bash script to update the temporary files.
Instructions:
1. place the python script somewhere in your system and add it to the KDE Autostart.
2. place the bash script also anywhere and add it to a cron job that runs hourly (or whatever other interval you wish)
3. change the paths in the python script accordingly to reflect correctly the paths of the various files your system
4. optional: create a file for the ignored packages, where you can list each package name in a new line for those packages that you wish to be ignored. Also don't forget to update the python script with the correct path for this particular file.
And that's it. From now on you get a nice icon in your systray that is green when you system is "up to date" and yellow with exclamation mark when updates are available. I hope you like it.
Tell me if they work for you, or you have issues so I can fix them.
Also if you want something to be added or have some good idea or maybe you would want them to work for other DEs, I am open to ideas and suggestions for expanding them and making them better. But remember I am keen on the KISS idea and I will keep them as simple as possible.
check-system-updates.py
#! /usr/bin/env python
from PyQt4 import QtGui, QtCore
import os
import re
import os.path, time
class RightClickMenu(QtGui.QMenu):
def __init__(self, parent=None):
QtGui.QMenu.__init__(self, "Edit", parent)
exit = QtGui.QAction(QtGui.QIcon('icons/exit.png'), 'Exit', self)
exit.setShortcut('Ctrl+Q')
exit.setStatusTip('Exit application')
exit.triggered.connect(QtGui.qApp.quit)
self.addAction(exit)
class LeftClickMenu(QtGui.QMenu):
def __init__(self, parent=None):
QtGui.QMenu.__init__(self, "File", parent)
class SystemTrayIcon(QtGui.QSystemTrayIcon):
def __init__(self, parent=None):
QtGui.QSystemTrayIcon.__init__(self, parent)
# file paths:
self.synchronizeScriptPath = '~/Scripts/synchronize-and-count-system-updates.sh';
self.ignoreFilenameAndPath = '~/.config/system-check-updates-ignore.txt';
self.pacmanlogFilenameAndPath = '/var/log/pacman.log';
self.updateCountPath = '/tmp/updateCount';
self.updateListPath = '/tmp/updateList';
self.iconOK = QtGui.QIcon("/usr/share/icons/oxygen/22x22/status/security-high.png")
self.iconProblem = QtGui.QIcon("/usr/share/icons/oxygen/22x22/status/security-medium.png")
self.status = 1
self.updateCount = 0;
self.updateList = [];
self.updateIgnoredCount = 0;
self.updateIgnoredList = [];
self.pacmanlogLastModificationTime = 0;
self.setIcon(self.iconProblem);
self.right_menu = RightClickMenu()
self.setContextMenu(self.right_menu)
self.activated.connect(self.click_trap)
def click_trap(self, value):
if value == self.Trigger: #left click!
if self.updateIgnoredCount > 0:
ignoredMessage = "\n\nIgnored " + str(self.updateIgnoredCount) + " updates:\n\n" + '\n'.join(self.updateIgnoredList) + '\n\n' + 'Using ignore file: ' + self.ignoreFilenameAndPath
else:
ignoredMessage = ""
if self.status == 1:
self.showMessage("There are " + str(self.updateCount) + " new updates", '\n'.join(self.updateList) + ignoredMessage, QtGui.QSystemTrayIcon.Information, 4000);
else:
self.showMessage("System Updates Status", "System up to date" + ignoredMessage, QtGui.QSystemTrayIcon.Warning, 5000);
def show(self):
QtGui.QSystemTrayIcon.show(self)
def checkSystemUpdates(self):
# check if pacman.log has been updated
newPacmanlogModificationTime = os.path.getmtime(self.pacmanlogFilenameAndPath);
if newPacmanlogModificationTime > self.pacmanlogLastModificationTime:
#print("pacman.log modified")
f = os.popen(self.synchronizeScriptPath)
commandSynchronizeAndCountSystemUpdates = f.read()
#print("executing check updates script")
self.pacmanlogLastModificationTime = newPacmanlogModificationTime;
#print("check updates finished")
#print("last modified: %s", time.ctime(os.path.getmtime(self.pacmanlogFilenameAndPath)))
#print("last modified: %d", os.path.getmtime(self.pacmanlogFilenameAndPath))
#print("created: %s", time.ctime(os.path.getctime(self.pacmanlogFilenameAndPath)))
f = os.popen('cat ' + self.ignoreFilenameAndPath)
commandCatIgnoreFileOutput = f.read()
f = os.popen('cat ' + self.updateCountPath)
commandOutput = f.read()
f = os.popen('cat ' + self.updateListPath)
command2Output = f.read()
self.updateCount = 0
self.updateList = []
self.updateIgnoredCount = 0;
self.updateIgnoredList = [];
for line in command2Output.split('\n'):
if line:
fileIgnored = False
for ignoreLine in commandCatIgnoreFileOutput.split('\n'):
if ignoreLine:
if ignoreLine in line:
fileIgnored = True
if fileIgnored != True:
self.updateCount += 1
self.updateList.append(line)
else:
self.updateIgnoredCount += 1;
self.updateIgnoredList.append(line);
#print("ignored: " + line)
#print(str(i) + " " + line)
#print("command output: " + commandOutput)
#print("command 2 output: " + command2Output)
#self.updateCount = int(commandOutput)
#print(self.updateCount)
if self.updateCount > 0:
#print("found updates, self.updateCount = " + str(self.updateCount) + ", self.status = " + str(self.status));
if self.status == 0:
#print("status is 0, changing it to 1, self.status = " + str(self.status));
self.status = 1;
self.setIcon(self.iconProblem)
#print("setting icon problem, self.updateCount = " + str(self.updateCount));
else:
#print("no updates, self.updateCount = " + str(self.updateCount) + ", self.status = " + str(self.status));
if self.status == 1:
#print("status is 1, changing it to 0, self.status = " + str(self.status));
self.status = 0
self.setIcon(self.iconOK)
#print("setting icon OK, self.updateCount = " + str(self.updateCount));
def main():
import sys
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)
app = QtGui.QApplication(sys.argv)
tray = SystemTrayIcon()
# creat timer to call main checking function
timer = QtCore.QTimer()
timer.timeout.connect(tray.checkSystemUpdates);
timer.start(1000);
tray.show()
sys.exit(app.exec_())
if __name__ == "__main__":
main()
synchronize-and-count-system-updates.sh
#!/bin/bash
pacmanUpdates=$(/usr/bin/checkupdates)
if [ -n "$pacmanUpdates" ]; then
pacmanUpdatesCount=$(echo "$pacmanUpdates" | wc -l)
else
pacmanUpdatesCount=0
fi
aurUpdates=$(/usr/bin/cower -u)
if [ -n "$aurUpdates" ]; then
aurUpdatesCount=$(echo "$aurUpdates" | wc -l)
else
aurUpdatesCount=0
fi
updateCount=$(($pacmanUpdatesCount + $aurUpdatesCount))
> /tmp/updateList
if [ -n "$pacmanUpdates" ]; then
echo "$pacmanUpdates" >> /tmp/updateList
fi
if [ -n "$aurUpdates" ]; then
echo "$aurUpdates" >> /tmp/updateList
fi
echo "$updateCount" > /tmp/updateCount
Last edited by Nektarios (2014-10-06 19:05:39)Yes, sorry for my dumb question. I guess I actually wanted to ask if you planned to maintain an official Qt5 version. Also, might be useful to add your script in the AUR and to reference it in the wiki.
-
Hi everyone,
I have had arch on my laptop for a while now, 3 months i think, and two days on my desktop pc. For some reason I can not update either. It just said that there is nothing to do.
I tried loads of things like just doing
pacman -Syy
and changing the mirrorlist so random mirrors are at the top.
The only difference is that when running pacman -Syu on my laptop, it updates the repos and then says that there is nothing to do rather than on the desktop it says that repos are up to date. Here is my pacman.conf, it is the same on both systems:
# /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
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
ILoveCandy
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
# IgnorePkg = lxpanel nemo gparted audacious
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
# 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]
# Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
# [community-testing]
# Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[mate]
SigLevel = Optional TrustAll
Server = http://repo.mate-desktop.org/archlinux/$arch
[pnsft-pur]
SigLevel = Optional TrustAll
Server = http://downloads.sourceforge.net/project/pnsft-aur/pur/$arch
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
# [multilib-testing]
# Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
None of the mirrors give me all updates.
It gives me a few, but not all, updates with certain mirrors.
Thanks in advance.OK, here it is
## Arch Linux repository mirrorlist
## Sorted by mirror score from mirror status page
## Generated on 2013-08-01
Server = http://foss.aueb.gr/mirrors/linux/archlinux/$repo/os/$arch
Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch
Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
Server = http://archlinux.mirror.root.lu/$repo/os/$arch
Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirror.chmuri.net/archmirror/$repo/os/$arch
Server = http://archlinux.polymorf.fr/$repo/os/$arch
Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.4, United States
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.5, Germany
Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.5, Netherlands
Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.5, France
Server = http://archlinux.polymorf.fr/$repo/os/$arch
## Score: 0.5, Poland
Server = http://mirror.chmuri.net/archmirror/$repo/os/$arch
## Score: 0.6, United States
Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
## Score: 0.6, Germany
Server = http://mirror.1favre.de/$repo/os/$arch
## Score: 0.7, Iceland
Server = http://mirror.system.is/arch/$repo/os/$arch
## Score: 0.7, Germany
Server = http://archlinux.limun.org/$repo/os/$arch
## Score: 0.7, Germany
Server = http://ftp.tuxdroid.org/archlinux/$repo/os/$arch
## Score: 0.8, Belarus
Server = http://mirror.datacenter.by/pub/archlinux/$repo/os/$arch
## Score: 0.9, United States
Server = http://lug.mtu.edu/archlinux/$repo/os/$arch
## Score: 0.9, France
Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
## Score: 0.9, United Kingdom
Server = http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
## Score: 0.9, Greece
Server = http://foss.aueb.gr/mirrors/linux/archlinux/$repo/os/$arch
## Score: 0.9, United Kingdom
Server = http://archlinux.mirrors.uk2.net/$repo/os/$arch
## Score: 1.0, Germany
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
## Score: 1.0, Italy
Server = http://archlinux.openlabto.org/archlinux/$repo/os/$arch
## Score: 1.0, Sweden
Server = http://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch
## Score: 1.0, Germany
Server = http://mirror.unitedcolo.de/archlinux/$repo/os/$arch
## Score: 1.0, Germany
Server = http://mirror.selfnet.de/archlinux/$repo/os/$arch
## Score: 1.0, Germany
Server = http://mirrors.n-ix.net/archlinux/$repo/os/$arch
## Score: 1.1, Germany
Server = http://ftp.neutrinopower.de/archlinux/$repo/os/$arch
## Score: 1.1, France
Server = http://mir.archlinux.fr/$repo/os/$arch
## Score: 1.1, Netherlands
Server = http://fruk.org/archlinux/$repo/os/$arch
## Score: 1.1, Netherlands
Server = http://arch.apt-get.eu/$repo/os/$arch
## Score: 1.2, Switzerland
Server = http://archlinux.puzzle.ch/$repo/os/$arch
## Score: 1.2, Netherlands
Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch
## Score: 1.2, Poland
Server = http://ftp.vectranet.pl/archlinux/$repo/os/$arch
## Score: 1.2, Denmark
Server = http://mirrors.dotsrc.org/archlinux/$repo/os/$arch
## Score: 1.2, Czech Republic
Server = http://mirror.vpsfree.cz/archlinux/$repo/os/$arch
## Score: 1.2, Taiwan, Province of China
Server = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch
## Score: 1.2, Belarus
Server = http://ftp.byfly.by/pub/archlinux/$repo/os/$arch
## Score: 1.2, Czech Republic
Server = http://archlinux.mirror.dkm.cz/pub/archlinux/$repo/os/$arch
## Score: 1.2, United States
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
## Score: 1.2, Norway
Server = http://mirror.archlinux.no/$repo/os/$arch
## Score: 1.3, Austria
Server = http://mirror1.htu.tugraz.at/archlinux/$repo/os/$arch
## Score: 1.3, Germany
Server = http://mirror.michael-eckert.net/archlinux/$repo/os/$arch
## Score: 1.4, Belgium
Server = http://archlinux.mirror.kangaroot.net/$repo/os/$arch
## Score: 1.4, Australia
Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
## Score: 1.4, Germany
Server = http://mirror.fluxent.de/archlinux/$repo/os/$arch
## Score: 1.4, Romania
Server = http://archlinux.mirrors.linux.ro/$repo/os/$arch
## Score: 1.4, Germany
Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch
## Score: 1.4, France
Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/$arch
## Score: 1.5, United States
Server = http://mirror.nexcess.net/archlinux/$repo/os/$arch
## Score: 1.6, United States
Server = http://archlinux.surlyjake.com/archlinux/$repo/os/$arch
## Score: 1.6, United States
Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch
## Score: 1.6, United States
Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
## Score: 1.6, United States
Server = http://mirror.cc.columbia.edu/pub/linux/archlinux/$repo/os/$arch
## Score: 1.6, United States
Server = http://mirror.umd.edu/archlinux/$repo/os/$arch
## Score: 1.7, Brazil
Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
## Score: 1.7, Macedonia, The Former Yugoslav Republic of
Server = http://arch.linux.net.mk/archlinux/$repo/os/$arch
## Score: 1.7, Brazil
Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/$arch
## Score: 1.7, United States
Server = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$arch
## Score: 1.8, Australia
Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/$arch
## Score: 1.8, Finland
Server = http://mirror.archlinux.fi/archlinux/$repo/os/$arch
## Score: 1.8, United States
Server = http://mirror.jmu.edu/pub/archlinux/$repo/os/$arch
## Score: 1.8, Chile
Server = http://mirror.archlinux.cl/$repo/os/$arch
## Score: 1.8, Brazil
Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/$arch
## Score: 1.9, France
Server = http://archlinux.aubrac-medical.fr/$repo/os/$arch
## Score: 1.9, Sweden
Server = http://ftp.portlane.com/pub/os/linux/archlinux/$repo/os/$arch
## Score: 1.9, France
Server = http://archlinux.vi-di.fr/$repo/os/$arch
## Score: 1.9, Canada
Server = http://archlinux.mirror.rafal.ca/$repo/os/$arch
## Score: 2.0, Luxembourg
Server = http://archlinux.mirror.root.lu/$repo/os/$arch
## Score: 2.0, Indonesia
Server = http://suro.ubaya.ac.id/archlinux/$repo/os/$arch
## Score: 2.0, Germany
Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/$arch
## Score: 2.0, Hungary
Server = http://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
## Score: 2.1, Japan
Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
## Score: 2.1, United Kingdom
Server = http://mirror.cinosure.com/archlinux/$repo/os/$arch
## Score: 2.1, Netherlands
Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
## Score: 2.3, Israel
Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch
## Score: 2.3, United States
Server = http://mirrors.aggregate.org/archlinux/$repo/os/$arch
## Score: 2.3, Germany
Server = http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
## Score: 2.4, Australia
Server = http://ftp.swin.edu.au/archlinux/$repo/os/$arch
## Score: 2.4, United States
Server = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$arch
## Score: 2.4, Canada
Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
## Score: 2.4, China
Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
## Score: 2.5, China
Server = http://mirrors.hustunique.com/archlinux/$repo/os/$arch
## Score: 2.5, Colombia
Server = http://www.laqee.unal.edu.co/archlinux/$repo/os/$arch
## Score: 2.5, Serbia
Server = http://mirror.pmf.kg.ac.rs/archlinux/$repo/os/$arch
## Score: 2.5, Estonia
Server = http://ftp.eenet.ee/pub/archlinux/$repo/os/$arch
## Score: 2.6, Italy
Server = http://mirrors.prometeus.net/archlinux/$repo/os/$arch
## Score: 2.7, Norway
Server = http://archlinux.uib.no/$repo/os/$arch
## Score: 2.7, Viet Nam
Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/$arch
## Score: 2.7, Netherlands
Server = http://mirror.i3d.net/pub/archlinux/$repo/os/$arch
## Score: 2.8, China
Server = http://mirrors6.ustc.edu.cn/archlinux/$repo/os/$arch
## Score: 2.9, Russian Federation
Server = http://mirror.yandex.ru/archlinux/$repo/os/$arch
## Score: 2.9, Greece
Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/$arch
## Score: 3.0, United States
Server = http://mirrors.gigenet.com/archlinux/$repo/os/$arch
## Score: 3.0, Greece
Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/$arch
## Score: 3.0, Greece
Server = http://ftp.cc.uoc.gr/mirrors/linux/archlinux/$repo/os/$arch
## Score: 3.1, Latvia
Server = http://archlinux.goodsoft.lv/$repo/os/$arch
## Score: 3.2, United States
Server = http://mirror.ancl.hawaii.edu/linux/archlinux/$repo/os/$arch
## Score: 3.2, Portugal
Server = http://ftp.rnl.ist.utl.pt/pub/archlinux/$repo/os/$arch
## Score: 3.2, Germany
Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
## Score: 3.2, Sweden
Server = http://ftp.availo.se/archlinux/$repo/os/$arch
## Score: 3.4, Japan
Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch
## Score: 3.6, United States
Server = http://cosmos.cites.illinois.edu/pub/archlinux/$repo/os/$arch
## Score: 3.7, Germany
Server = http://linux.rz.rub.de/archlinux/$repo/os/$arch
## Score: 3.8, China
Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
## Score: 3.9, Belgium
Server = http://archlinux.cu.be/$repo/os/$arch
## Score: 3.9, China
Server = http://mirror6.bjtu.edu.cn/archlinux/$repo/os/$arch
## Score: 3.9, Germany
Server = http://ftp.hawo.stw.uni-erlangen.de/archlinux/$repo/os/$arch
## Score: 3.9, Australia
Server = http://archlinux.mirror.uber.com.au/$repo/os/$arch
## Score: 4.0, Ireland
Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/$arch
## Score: 4.0, United States
Server = http://mirrors.lax1.thegcloud.com/arch/$repo/os/$arch
## Score: 4.0, Germany
Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/$arch
## Score: 4.1, United Kingdom
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch
## Score: 4.2, Romania
Server = http://mirror.archlinux.ro/archlinux/$repo/os/$arch
## Score: 4.4, Kazakhstan
Server = http://archlinux.kz/$repo/os/$arch
## Score: 4.5, Turkey
Server = http://ftp.linux.org.tr/archlinux/$repo/os/$arch
## Score: 4.5, France
Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch
## Score: 4.6, Taiwan, Province of China
Server = http://archlinux.cs.nctu.edu.tw/$repo/os/$arch
## Score: 4.6, Bulgaria
Server = http://archlinux.igor.onlinedirect.bg/$repo/os/$arch
## Score: 4.7, China
Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
## Score: 4.7, Australia
Server = http://mirror.optus.net/archlinux/$repo/os/$arch
## Score: 5.1, New Zealand
Server = http://mirror.xnet.co.nz/pub/archlinux/$repo/os/$arch
## Score: 5.2, France
Server = http://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
## Score: 5.5, Sweden
Server = http://ftp.df.lth.se/pub/archlinux/$repo/os/$arch
## Score: 5.6, New Caledonia
Server = http://archlinux.nautile.nc/archlinux/$repo/os/$arch
## Score: 5.6, China
Server = http://mirror.bjtu.edu.cn/archlinux/$repo/os/$arch
## Score: 5.9, Russian Federation
Server = http://mirror.rol.ru/archlinux/$repo/os/$arch
## Score: 6.8, United States
Server = http://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch
## Score: 6.9, Australia
Server = http://syd.mirror.rackspace.com/archlinux/$repo/os/$arch
## Score: 6.9, United States
Server = http://ord.mirror.rackspace.com/archlinux/$repo/os/$arch
## Score: 7.0, India
Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
## Score: 7.1, Canada
Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch
## Score: 7.3, Kazakhstan
Server = http://mirror.neolabs.kz/archlinux/$repo/os/$arch
## Score: 7.5, United States
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
## Score: 7.6, Hong Kong
Server = http://hkg.mirror.rackspace.com/archlinux/$repo/os/$arch
## Score: 8.5, United States
Server = http://mirror.metrocast.net/archlinux/$repo/os/$arch
## Score: 8.9, Ukraine
Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch
## Score: 10.3, United States
Server = http://archlinux.supsec.org/$repo/os/$arch
## Score: 11.3, Spain
Server = http://sunsite.rediris.es/mirror/archlinux/$repo/os/$arch
## Score: 12.4, Spain
Server = http://osl.ugr.es/archlinux/$repo/os/$arch
## Score: 12.7, Poland
Server = http://archlinux.mirror.pl.ionic.net.pl/$repo/os/$arch
## Score: 12.7, United States
Server = http://mirrors.xmission.com/archlinux/$repo/os/$arch
## Score: 12.7, Germany
Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/$arch
## Score: 12.8, Germany
Server = http://artfiles.org/archlinux.org/$repo/os/$arch
## Score: 12.9, Ukraine
Server = http://mirrors.mithril.org.ua/linux/archlinux/$repo/os/$arch
## Score: 12.9, Canada
Server = http://archlinux.mirror.vexxhost.com/$repo/os/$arch
## Score: 13.0, Germany
Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/$arch
## Score: 13.2, Portugal
Server = http://archlinux.dcc.fc.up.pt/$repo/os/$arch
## Score: 13.4, Germany
Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/$arch
## Score: 13.4, Sweden
Server = http://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/$arch
## Score: 13.4, Slovakia
Server = http://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch
## Score: 13.7, Denmark
Server = http://ftp.klid.dk/ftp/archlinux/$repo/os/$arch
## Score: 13.8, China
Server = http://mirrors.163.com/archlinux/$repo/os/$arch
## Score: 15.0, Sri Lanka
Server = http://mirror.learn.ac.lk/archlinux/$repo/os/$arch
## Score: 16.0, Korea, Republic of
Server = http://ftp.kaist.ac.kr/ArchLinux/$repo/os/$arch
## Score: 17.7, Australia
Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/$arch
## Score: 20.0, Indonesia
Server = http://jaran.undip.ac.id/archlinux/$repo/os/$arch
## Score: 20.1, Uzbekistan
Server = http://mirrors.st.uz/archlinux/$repo/os/$arch
## Score: 20.9, South Africa
Server = http://ftp.wa.co.za/pub/archlinux/$repo/os/$arch
## Score: 63.1, Singapore
Server = http://mirror.nus.edu.sg/archlinux/$repo/os/$arch
BTW if there are multiple mirrors does it fallback to second one if the first fails?
thank you for helping -
On screen shows updating itunes,but doesn't really update;instead freezes
When i connect my ipod to my computer(which is a windows xp)to update my songs and videos to my ipod, it doesn't work. First the icon for my ipod shows in the itunes and it says that it's updating. There's this flashing in the little ipod icon that shows that it's updating. But then it stops a after 2 minutes or 3, and freezes. Is something wrong with my computer, itunes or my ipod? HELP!!!!!!!Also when i add a video to my itunes, i click on it to play, but it doesn't and itunes freezes up. I then deleted the video file in the recycle bin, but the video in my itunes still shows even though i deleted it. So everytime i go on my itunes, and click that video file even though i deleted it already(don't know why it still displays on my itunes library), my itunes totally freezes up, so i have to end the program itunes immediately and it asks me whether i want to send a report of the problem. I think this is causing my itunes to not work properly and therefore i can't update my ipod. Can anyone please help me?!!!!!!!!!!!!I would really appreciated!thank you!:):):):)xD
Thanks, rodsvart. This update solved mine too.
-
External HDD (vfat) being mounted ro after pacman -Syu update
Hi all,
I just updated my laptop using pacman -Syu which didn't throw up any errors, but now my external hard drive mounts as Read Only when I plug it in.
I'm using Gnome desktop. This hard drive has worked fine for months. If I add 'rw' to the volume options field, it comes up with "unknown option" or "invalid option" (can't remember which) when I plug the drive in.
The drive is formatted vat (so I can use it on Windows too) and I can mount it manually fine. What's changed with the update that makes it mount ro?
Any help would be greatDidn't know where to find that - thanks
[2008-04-30 14:21] synchronizing package lists
[2008-04-30 14:21] starting full system upgrade
[2008-04-30 14:53] upgraded aspell (0.60.5-2 -> 0.60.6-1)
[2008-04-30 14:53] upgraded pixman (0.9.6-1 -> 0.10.0-1)
[2008-04-30 14:53] upgraded cairo (1.4.14-1 -> 1.6.4-1)
[2008-04-30 14:53] upgraded glib2 (2.16.2-1 -> 2.16.3-1)
[2008-04-30 14:53] upgraded pango (1.20.0-1 -> 1.20.2-2)
[2008-04-30 14:53] upgraded gtk2 (2.12.9-1 -> 2.12.9-2)
[2008-04-30 14:53] upgraded at-spi (1.22.0-1 -> 1.22.1-1)
[2008-04-30 14:53] upgraded cairo-perl (1.044-1 -> 1.060-1)
[2008-04-30 14:53] upgraded dbus (1.1.20-2 -> 1.2.1-1)
[2008-04-30 14:53] upgraded hal-info (0.20071212-1 -> 0.20080317-1)
[2008-04-30 14:53] upgraded libsmbios (0.13.10-1 -> 2.0.2-1)
[2008-04-30 14:53] upgraded pm-utils (0.99.4-1 -> 1.1.0-1)
[2008-04-30 14:53] upgraded hal (0.5.10-1 -> 0.5.11rc2-2)
[2008-04-30 14:53] upgraded gnome-keyring (2.22.0-2 -> 2.22.1-1)
[2008-04-30 14:53] upgraded poppler (0.6.3-1 -> 0.8.0-1)
[2008-04-30 14:53] upgraded poppler-glib (0.6.3-1 -> 0.8.0-1)
[2008-04-30 14:53] installed libspectre (0.2.0-1)
[2008-04-30 14:54] upgraded evince (2.22.0-1 -> 2.22.1.1-2)
[2008-04-30 14:54] upgraded libsoup (2.4.0-1 -> 2.4.1-1)
[2008-04-30 14:54] upgraded evolution-data-server (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:54] upgraded filezilla (3.0.9.1-1 -> 3.0.9.2-1)
[2008-04-30 14:54] upgraded gail (1.22.0-1 -> 1.22.1-1)
[2008-04-30 14:54] upgraded gcalctool (5.22.0-1 -> 5.22.1-1)
[2008-04-30 14:54] upgraded gtksourceview2 (2.2.0-1 -> 2.2.1-1)
[2008-04-30 14:54] upgraded gedit (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:54] upgraded glib-perl (1.162-1 -> 1.182-1)
[2008-04-30 14:54] upgraded glibmm (2.16.1-1 -> 2.16.2-1)
[2008-04-30 14:54] upgraded gnome-desktop (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:54] upgraded gnome-menus (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:54] upgraded libgweather (2.22.0-1 -> 2.22.1.2-1)
[2008-04-30 14:54] upgraded libwnck (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:55] upgraded gnome-panel (2.22.0-1 -> 2.22.1.3-1)
[2008-04-30 14:55] upgraded gucharmap (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:55] upgraded libgtop (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:55] upgraded libnotify (0.4.4-1 -> 0.4.4-2)
[2008-04-30 14:55] upgraded gnome-applets (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:55] upgraded gnome-settings-daemon (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:55] NOTE
[2008-04-30 14:55] ----
[2008-04-30 14:55] Add your user to group 'camera' to use camera devices.
[2008-04-30 14:55] upgraded libgphoto2 (2.4.0-5 -> 2.4.0-6)
[2008-04-30 14:55] ==>
[2008-04-30 14:55] ==> GVFS requires FUSE to operate correctly
[2008-04-30 14:55] ==>
[2008-04-30 14:55] ==> To make full use of GVFS, please load the "fuse" kernel module at bootup.
[2008-04-30 14:55] ==> To do so, add 'fuse' to the MODULES array in /etc/rc.conf
[2008-04-30 14:55] ==>
[2008-04-30 14:55] ==> Without this module, GVFS will not be compatible with applications that
[2008-04-30 14:55] ==> are not GIO-enabled.
[2008-04-30 14:55] ==>
[2008-04-30 14:55] upgraded gvfs (0.2.2-1 -> 0.2.3-1)
[2008-04-30 14:55] upgraded libbeagle (0.3.5-1 -> 0.3.5.1-1)
[2008-04-30 14:55] upgraded nautilus (2.22.1-1 -> 2.22.2-1)
[2008-04-30 14:56] upgraded gnome-control-center (2.22.0-3 -> 2.22.1-1)
[2008-04-30 14:56] upgraded gnome-mount (0.7-1 -> 0.8-1)
[2008-04-30 14:56] upgraded gnome-session (2.22.0-1 -> 2.22.1.1-1)
[2008-04-30 14:56] upgraded gnome-speech (0.4.18-1 -> 0.4.19-1)
[2008-04-30 14:56] upgraded gnome-terminal (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:56] upgraded gnome-volume-manager (2.22.1-1 -> 2.22.3-1)
[2008-04-30 14:56] upgraded neon (0.27.2-1 -> 0.28.2-1)
[2008-04-30 14:56] upgraded gstreamer0.10-bad-plugins (0.10.6-1 -> 0.10.6-2)
[2008-04-30 14:57] upgraded mono (1.9-1 -> 1.9.1-1)
[2008-04-30 14:57] upgraded gtk-sharp-2 (2.12.0-2 -> 2.12.1-1)
[2008-04-30 14:57] upgraded gtk2-perl (1.162-1 -> 1.182-1)
[2008-04-30 14:57] upgraded hunspell (1.2.1-2 -> 1.2.2-2)
[2008-04-30 14:57] upgraded icu (3.8-1 -> 3.8.1-1)
[2008-04-30 14:57] upgraded imagemagick (6.3.8.0-2 -> 6.4.0.9-1)
[2008-04-30 14:57] upgraded kdelibs (3.5.9-2 -> 3.5.9-3.1)
[2008-04-30 14:57] warning: /etc/laptop-mode/laptop-mode.conf installed as /etc/laptop-mode/laptop-mode.conf.pacnew
[2008-04-30 14:57] warning: /etc/laptop-mode/conf.d/wireless-ipw-power.conf installed as /etc/laptop-mode/conf.d/wireless-ipw-power.conf.pacnew
[2008-04-30 14:57] warning: /etc/laptop-mode/conf.d/ac97-powersave.conf installed as /etc/laptop-mode/conf.d/ac97-powersave.conf.pacnew
[2008-04-30 14:57] upgraded laptop-mode-tools (1.35-2 -> 1.41-1)
[2008-04-30 14:57] upgraded libdvdnav (0.1.10-2 -> 0.1.10-3)
[2008-04-30 14:57] upgraded libepc (0.3.4-2 -> 0.3.5-1)
[2008-04-30 14:57] upgraded libnetworkmanager (0.6.5-1 -> 0.6.6-1)
[2008-04-30 14:57] upgraded libnl (1.0pre6-1 -> 1.1-1)
[2008-04-30 14:57] upgraded lsof (4.78-1 -> 4.79-1)
[2008-04-30 14:57] upgraded networkmanager (0.6.5-3 -> 0.6.6-1)
[2008-04-30 14:57] upgraded pstoedit (3.45-1 -> 3.45-2)
[2008-04-30 14:57] NOTE:
[2008-04-30 14:57] This package has been built with java support.
[2008-04-30 14:57] If you want java features for runtime, you can either use:
[2008-04-30 14:57] 1. Sun's JRE.
[2008-04-30 14:57] 2. Java-gcj-compat and gcc-gcj.
[2008-04-30 14:57] you will need it for "help" section and some java based wizards
[2008-04-30 14:57] for further reading: http://wiki.services.openoffice.org/wik … Office.org
[2008-04-30 14:57]
[2008-04-30 14:57] The en_US spellchecker is no longer included. A separate pkg is now
[2008-04-30 14:57] available. Use "pacman -S openoffice-spell-en" to install it.
[2008-04-30 14:57]
[2008-04-30 14:57] use "export OOO_FORCE_DESKTOP=kde" or
[2008-04-30 14:57] use "export OOO_FORCE_DESKTOP=gnome" to preset your desired look,
[2008-04-30 14:57] or put it in /etc/profile, rc.local, or ~/.bashrc.
[2008-04-30 14:57] upgraded openoffice-base (2.4.0-1 -> 2.4.0-2)
[2008-04-30 14:57] upgraded pycairo (1.4.0-3 -> 1.4.12-1)
[2008-04-30 14:57] upgraded seahorse (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:57] upgraded tar (1.19-2 -> 1.20-2)
[2008-04-30 14:57] upgraded totem-plparser (2.22.1-1 -> 2.22.2-1)
[2008-04-30 14:58]
[2008-04-30 14:58] ==> Totem has been built with GStreamer. By default, only plugins from
[2008-04-30 14:58] ==> gst-plugins-good and gst-plugins-base are installed.
[2008-04-30 14:58] ==>
[2008-04-30 14:58] ==> To play additional media formats, more plugins are available from
[2008-04-30 14:58] ==> gstreamer0.10-ugly-plugins, gstreamer0.10-bad-plugins
[2008-04-30 14:58] ==> and gstreamer0.10-ffmpeg packages.
[2008-04-30 14:58] ==>
[2008-04-30 14:58] ==> There's also a xine build of Totem available, install totem-xine instead
[2008-04-30 14:58] ==> of this package if you want xine to play your media files.
[2008-04-30 14:58]
[2008-04-30 14:58] upgraded totem (2.22.0-2 -> 2.22.2-1)
[2008-04-30 14:58] upgraded vino (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:58] upgraded wget (1.11-1 -> 1.11.1-1)
[2008-04-30 14:58] upgraded xine-lib (1.1.10-1 -> 1.1.12-1)
[2008-04-30 14:58] upgraded yelp (2.22.0-1 -> 2.22.1-1)
[2008-04-30 14:58] upgraded zenity (2.22.0-1 -> 2.22.1-1) -
Are there any one really updated to ICS having WT19i?
Well in first i have tried every thing mentioned before in the disscusion fourms i have dowloaded the SUS and i searched for my mobile serial number and in didn't find it by the way , so i really i want to know Live with walkman has an update or they gave up support this phone any more i got my phone since last march and like i said many times using SUS and it says either server not available or your phone already has the it's latest please i want anyone from sony customer service help me with this because i want better battery consumption or just tell me there is no update for live with walkman ......
Thanks!There are quite a bunch of SI's that have the possibility to update to ICS so far. Check the link below to see the whole list.
http://talk.sonymobile.com/thread/38368
What do you think about this forum? Let us know by doing this short survey. -
[SOLVED] Pacman not updating (downloads stay at 0%)
Hello!,
today i tried to update but got the following output:
[silverone@silver-arch ~]$ sudo pacman -Syu
[sudo] password for silverone:
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize any databases
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
[silverone@silver-arch ~]$ ps -aux | grep pac
root 760 0.4 0.2 403596 19020 ? Sl 18:54 0:00 /usr/lib/PackageKit/packagekitd
silvero+ 2219 0.0 0.0 10672 1084 pts/0 S+ 18:55 0:00 grep pac
[silverone@silver-arch ~]$ sudo rm /var/lib/pacman/db.lck
[silverone@silver-arch ~]$ sudo pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.system.is : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'core.db' from mirror.datacenter.by : Resolving timed out after 10521 milliseconds
error: failed retrieving file 'core.db' from mirrors.liquidweb.com : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'core.db' from archlinux.surlyjake.com : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'core.db' from mirror.bytemark.co.uk : Resolving timed out after 10520 milliseconds
core is up to date
extra is up to date 0.0 B 0.00B/s 00:00 [----------------------] 0%
community is up to date 0.0 B 0.00B/s 00:00 [----------------------] 0%
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
[silverone@silver-arch ~]$
What could be wrong here ? I have looked up the wiki and the forums but got not answer
Last edited by SilverOne (2014-03-31 18:22:34)fredbezies wrote:
Try using other mirrors.The one you choose are down.
Modify /etc/pacman.d/mirrorlist
That worked / feeling kinda dumb now /
thank you. -
[SOLVED] pacman -Syu update strikes again!
Several minutes back updated arch as usual. And apart from xterm and dillo I can't run anything.
chromium
[5734:5734:280761273:ERROR:browser_main.cc(910)] GLib-GObject: specified class size for type `GtkIMContextUIM' is smaller than the parent type's `GtkIMContext'
class size
[5734:5734:280761665:ERROR:browser_main.cc(910)] GLib-GObject: specified instance size for type `UIMCandWinGtk' is smaller than the parent type's `GtkWindow'
instance size
Segmentation fault
sakura
(sakura:10437): GLib-GObject-WARNING **: specified class size for type `GtkIMContextUIM' is smaller than the parent type's `GtkIMContext' class size
*** glibc detected *** sakura: malloc(): memory corruption: 0x0000000000978a40 ***
======= Backtrace: =========
/lib/libc.so.6(+0x7342a)[0x7f57dfb5d42a]
/lib/libc.so.6(+0x74e1a)[0x7f57dfb5ee1a]
/lib/libc.so.6(+0x75891)[0x7f57dfb5f891]
/lib/libc.so.6(__libc_memalign+0x93)[0x7f57dfb617a3]
/lib/libc.so.6(posix_memalign+0x59)[0x7f57dfb62909]
/usr/lib/libglib-2.0.so.0(+0x16e96)[0x7f57e00fce96]
/usr/lib/libglib-2.0.so.0(g_slice_alloc+0x5fa)[0x7f57e014404a]
/usr/lib/libglib-2.0.so.0(g_slice_alloc0+0x16)[0x7f57e01441a6]
/usr/lib/libgobject-2.0.so.0(g_type_create_instance+0x99)[0x7f57e0402539]
/usr/lib/libgobject-2.0.so.0(+0x1015c)[0x7f57e03e115c]
/usr/lib/libgobject-2.0.so.0(g_object_newv+0x892)[0x7f57e03e4102]
/usr/lib/libgobject-2.0.so.0(g_object_new+0xec)[0x7f57e03e4ccc]
/usr/lib/gtk-3.0/3.0.0/immodules/im-uim.so(im_module_create+0x46)[0x7f57d9d69686]
/usr/lib/libgtk-x11-2.0.so.0(+0x11e606)[0x7f57e0e5a606]
/usr/lib/libgtk-x11-2.0.so.0(+0x11eee9)[0x7f57e0e5aee9]
/usr/lib/libgtk-x11-2.0.so.0(+0x11ef28)[0x7f57e0e5af28]
/usr/lib/libvte.so.9(+0x26916)[0x7f57dfe6e916]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f57e03df1fe]
/usr/lib/libgobject-2.0.so.0(+0x1e815)[0x7f57e03ef815]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x88a)[0x7f57e03f97aa]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f57e03f9952]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0x9e)[0x7f57e0f9277e]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0xf8)[0x7f57e0f92e68]
/usr/lib/libgtk-x11-2.0.so.0(+0x8432b)[0x7f57e0dc032b]
/usr/lib/libgtk-x11-2.0.so.0(+0xb8abf)[0x7f57e0df4abf]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa9)[0x7f57e03df149]
/usr/lib/libgobject-2.0.so.0(+0x1e815)[0x7f57e03ef815]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x88a)[0x7f57e03f97aa]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f57e03f9952]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0xce)[0x7f57e0f92e3e]
/usr/lib/libgtk-x11-2.0.so.0(+0x159968)[0x7f57e0e95968]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0xa9)[0x7f57e03df149]
/usr/lib/libgobject-2.0.so.0(+0x1e815)[0x7f57e03ef815]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x88a)[0x7f57e03f97aa]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f57e03f9952]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0xce)[0x7f57e0f92e3e]
/usr/lib/libgtk-x11-2.0.so.0(+0x2676aa)[0x7f57e0fa36aa]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f57e03df1fe]
/usr/lib/libgobject-2.0.so.0(+0x1e815)[0x7f57e03ef815]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x88a)[0x7f57e03f97aa]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f57e03f9952]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_map+0xce)[0x7f57e0f92e3e]
/usr/lib/libgtk-x11-2.0.so.0(+0x261190)[0x7f57e0f9d190]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f57e03df1fe]
/usr/lib/libgobject-2.0.so.0(+0x1e815)[0x7f57e03ef815]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x88a)[0x7f57e03f97aa]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f57e03f9952]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_show+0x86)[0x7f57e0f93736]
sakura[0x40a55c]
sakura(main+0x104a)[0x40be3a]
/lib/libc.so.6(__libc_start_main+0xed)[0x7f57dfb0af6d]
sakura[0x405599]
======= Memory map: ========
00400000-0040f000 r-xp 00000000 08:06 295413 /usr/bin/sakura
0060f000-00610000 rw-p 0000f000 08:06 295413 /usr/bin/sakura
007f9000-00a46000 rw-p 00000000 00:00 0 [heap]
7f57d4000000-7f57d4021000 rw-p 00000000 00:00 0
7f57d4021000-7f57d8000000 ---p 00000000 00:00 0
7f57d8997000-7f57d89ac000 r-xp 00000000 08:06 280618 /usr/lib/libgcc_s.so.1
7f57d89ac000-7f57d8bac000 ---p 00015000 08:06 280618 /usr/lib/libgcc_s.so.1
7f57d8bac000-7f57d8bad000 rw-p 00015000 08:06 280618 /usr/lib/libgcc_s.so.1
7f57d8bad000-7f57d8c70000 rw-p 00000000 00:00 0
7f57d8c70000-7f57d8c72000 r-xp 00000000 08:06 272636 /usr/lib/libgcroots.so.0.1.0
7f57d8c72000-7f57d8e71000 ---p 00002000 08:06 272636 /usr/lib/libgcroots.so.0.1.0
7f57d8e71000-7f57d8e72000 rw-p 00001000 08:06 272636 /usr/lib/libgcroots.so.0.1.0
7f57d8e72000-7f57d8e95000 r-xp 00000000 08:06 272638 /usr/lib/libuim-scm.so.0.1.0
7f57d8e95000-7f57d9095000 ---p 00023000 08:06 272638 /usr/lib/libuim-scm.so.0.1.0
7f57d9095000-7f57d9098000 rw-p 00023000 08:06 272638 /usr/lib/libuim-scm.so.0.1.0
7f57d9098000-7f57d90ac000 r-xp 00000000 08:06 272639 /usr/lib/libuim.so.7.1.0
7f57d90ac000-7f57d92ac000 ---p 00014000 08:06 272639 /usr/lib/libuim.so.7.1.0
7f57d92ac000-7f57d92af000 rw-p 00014000 08:06 272639 /usr/lib/libuim.so.7.1.0
7f57d92af000-7f57d92b5000 r-xp 00000000 08:06 278314 /usr/lib/libcairo-gobject.so.2.11000.2
7f57d92b5000-7f57d94b5000 ---p 00006000 08:06 278314 /usr/lib/libcairo-gobject.so.2.11000.2
7f57d94b5000-7f57d94b7000 rw-p 00006000 08:06 278314 /usr/lib/libcairo-gobject.so.2.11000.2
7f57d94b7000-7f57d952c000 r-xp 00000000 08:06 280932 /usr/lib/libgdk-3.so.0.0.11
7f57d952c000-7f57d972b000 ---p 00075000 08:06 280932 /usr/lib/libgdk-3.so.0.0.11
7f57d972b000-7f57d972f000 rw-p 00074000 08:06 280932 /usr/lib/libgdk-3.so.0.0.11
7f57d972f000-7f57d9730000 rw-p 00000000 00:00 0
7f57d9730000-7f57d9b2c000 r-xp 00000000 08:06 280933 /usr/lib/libgtk-3.so.0.0.11
7f57d9b2c000-7f57d9d2c000 ---p 003fc000 08:06 280933 /usr/lib/libgtk-3.so.0.0.11
7f57d9d2c000-7f57d9d36000 rw-p 003fc000 08:06 280933 /usr/lib/libgtk-3.so.0.0.11
7f57d9d36000-7f57d9d38000 rw-p 00000000 00:00 0
7f57d9d5f000-7f57d9d74000 r-xp 00000000 08:06 394371 /usr/lib/gtk-3.0/3.0.0/immodules/im-uim.so
7f57d9d74000-7f57d9f73000 ---p 00015000 08:06 394371 /usr/lib/gtk-3.0/3.0.0/immodules/im-uim.so
7f57d9f73000-7f57d9f75000 rw-p 00014000 08:06 394371 /usr/lib/gtk-3.0/3.0.0/immodules/im-uim.so
7f57d9f75000-7f57da0be000 r-xp 00000000 08:06 279142 /usr/lib/libxml2.so.2.7.8
7f57da0be000-7f57da2bd000 ---p 00149000 08:06 279142 /usr/lib/libxml2.so.2.7.8
7f57da2bd000-7f57da2c7000 rw-p 00148000 08:06 279142 /usr/lib/libxml2.so.2.7.8
7f57da2c7000-7f57da2c8000 rw-p 00000000 00:00 0
7f57da2c8000-7f57da300000 r-xp 00000000 08:06 290166 /usr/lib/libcroco-0.6.so.3.0.1
7f57da300000-7f57da500000 ---p 00038000 08:06 290166 /usr/lib/libcroco-0.6.so.3.0.1
7f57da500000-7f57da504000 rw-p 00038000 08:06 290166 /usr/lib/libcroco-0.6.so.3.0.1
7f57da504000-7f57da538000 r-xp 00000000 08:06 283316 /usr/lib/librsvg-2.so.2.34.0
7f57da538000-7f57da737000 ---p 00034000 08:06 283316 /usr/lib/librsvg-2.so.2.34.0
7f57da737000-7f57da739000 rw-p 00033000 08:06 283316 /usr/lib/librsvg-2.so.2.34.0
7f57da739000-7f57da73b000 r-xp 00000000 08:06 283317 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f57da73b000-7f57da93a000 ---p 00002000 08:06 283317 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f57da93a000-7f57da93b000 rw-p 00001000 08:06 283317 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f57da93b000-7f57da947000 r-xp 00000000 08:06 287497 /usr/lib/gtk-2.0/2.10.0/engines/libmist.so
7f57da947000-7f57dab47000 ---p 0000c000 08:06 287497 /usr/lib/gtk-2.0/2.10.0/engines/libmist.so
7f57dab47000-7f57dab48000 rw-p 0000c000 08:06 287497 /usr/lib/gtk-2.0/2.10.0/engines/libmist.so
7f57dab48000-7f57dab53000 r-xp 00000000 08:06 524524 /lib/libnss_files-2.13.so
7f57dab53000-7f57dad52000 ---p 0000b000 08:06 524524 /lib/libnss_files-2.13.so
7f57dad52000-7f57dad53000 r--p 0000a000 08:06 524524 /lib/libnss_files-2.13.so
7f57dad53000-7f57dad54000 rw-p 0000b000 08:06 524524 /lib/libnss_files-2.13.so
7f57dad54000-7f57db20a000 r--p 00000000 08:06 278153 /usr/lib/locale/locale-archive
7f57db20a000-7f57db20f000 r-xp 00000000 08:06 274395 /usr/lib/libXdmcp.so.6.0.0
7f57db20f000-7f57db40e000 ---p 00005000 08:06 274395 /usr/lib/libXdmcp.so.6.0.0
7f57db40e000-7f57db40f000 rw-p 00004000 08:06 274395 /usr/lib/libXdmcp.so.6.0.0
7f57db40f000-7f57db411000 r-xp 00000000 08:06 274409 /usr/lib/libXau.so.6.0.0
7f57db411000-7f57db610000 ---p 00002000 08:06 274409 /usr/lib/libXau.so.6.0.0
7f57db610000-7f57db611000 rw-p 00001000 08:06 274409 /usr/lib/libXau.so.6.0.0
7f57db611000-7f57db638000 r-xp 00000000 08:06 265954 /usr/lib/libexpat.so.1.5.2
7f57db638000-7f57db837000 ---p 00027000 08:06 265954 /usr/lib/libexpat.so.1.5.2
7f57db837000-7f57db83a000 rw-p 00026000 08:06 265954 /usr/lib/libexpat.so.1.5.2
7f57db83a000-7f57db84d000 r-xp 00000000 08:06 524341 /lib/libresolv-2.13.so
7f57db84d000-7f57dba4d000 ---p 00013000 08:06 524341 /lib/libresolv-2.13.so
7f57dba4d000-7f57dba4e000 r--p 00013000 08:06 524341 /lib/libresolv-2.13.so
7f57dba4e000-7f57dba4f000 rw-p 00014000 08:06 524341 /lib/libresolv-2.13.so
7f57dba4f000-7f57dba51000 rw-p 00000000 00:00 0
7f57dba51000-7f57dba69000 r-xp 00000000 08:06 263672 /usr/lib/libz.so.1.2.5
7f57dba69000-7f57dbc68000 ---p 00018000 08:06 263672 /usr/lib/libz.so.1.2.5
7f57dbc68000-7f57dbc69000 rw-p 00017000 08:06 263672 /usr/lib/libz.so.1.2.5
7f57dbc69000-7f57dbcd8000 r-xp 00000000 08:06 276147 /usr/lib/libpixman-1.so.0.22.0
7f57dbcd8000-7f57dbed8000 ---p 0006f000 08:06 276147 /usr/lib/libpixman-1.so.0.22.0
7f57dbed8000-7f57dbedd000 rw-p 0006f000 08:06 276147 /usr/lib/libpixman-1.so.0.22.0
7f57dbedd000-7f57dbedf000 r-xp 00000000 08:06 524301 /lib/libdl-2.13.so
7f57dbedf000-7f57dc0df000 ---p 00002000 08:06 524301 /lib/libdl-2.13.so
7f57dc0df000-7f57dc0e0000 r--p 00002000 08:06 524301 /lib/libdl-2.13.so
7f57dc0e0000-7f57dc0e1000 rw-p 00003000 08:06 524301 /lib/libdl-2.13.so
7f57dc0e1000-7f57dc0fc000 r-xp 00000000 08:06 274458 /usr/lib/libxcb.so.1.1.0
7f57dc0fc000-7f57dc2fb000 ---p 0001b000 08:06 274458 /usr/lib/libxcb.so.1.1.0
7f57dc2fb000-7f57dc2fc000 rw-p 0001a000 08:06 274458 /usr/lib/libxcb.so.1.1.0
7f57dc2fc000-7f57dc353000 r-xp 00000000 08:06 525007 /lib/libncursesw.so.5.9
7f57dc353000-7f57dc552000 ---p 00057000 08:06 525007 /lib/libncursesw.so.5.9
7f57dc552000-7f57dc557000 rw-p 00056000 08:06 525007 /lib/libncursesw.so.5.9
7f57dc557000-7f57dc592000 r-xp 00000000 08:06 524588 /lib/libpcre.so.0.0.1
7f57dc592000-7f57dc791000 ---p 0003b000 08:06 524588 /lib/libpcre.so.0.0.1
7f57dc791000-7f57dc792000 rw-p 0003a000 08:06 524588 /lib/libpcre.so.0.0.1
7f57dc792000-7f57dc7a9000 r-xp 00000000 08:06 524314 /lib/libpthread-2.13.so
7f57dc7a9000-7f57dc9a9000 ---p 00017000 08:06 524314 /lib/libpthread-2.13.so
7f57dc9a9000-7f57dc9aa000 r--p 00017000 08:06 524314 /lib/libpthread-2.13.so
7f57dc9aa000-7f57dc9ab000 rw-p 00018000 08:06 524314 /lib/libpthread-2.13.so
7f57dc9ab000-7f57dc9af000 rw-p 00000000 00:00 0
7f57dc9af000-7f57dc9b6000 r-xp 00000000 08:06 539739 /lib/librt-2.13.so
7f57dc9b6000-7f57dcbb5000 ---p 00007000 08:06 539739 /lib/librt-2.13.so
7f57dcbb5000-7f57dcbb6000 r--p 00006000 08:06 539739 /lib/librt-2.13.so
7f57dcbb6000-7f57dcbb7000 rw-p 00007000 08:06 539739 /lib/librt-2.13.so
7f57dcbb7000-7f57dcbbb000 r-xp 00000000 08:06 265747 /usr/lib/libgthread-2.0.so.0.2800.8Aborted
other apps output the same amount of trash.
I tried to reinstall gcc with deps (as it may stand for segmentation fault), reinstalled gtk, all to no avail.
Can somebody help me bring my system into condition after a typical arch-way update)?
Last edited by tasty_minerals (2011-06-12 09:36:50)pacman.log
[2011-06-10 11:30] Running 'pacman -Syu'
[2011-06-10 11:30] synchronizing package lists
[2011-06-10 11:30] starting full system upgrade
[2011-06-10 11:37] upgraded glib2 (2.28.7-1 -> 2.28.8-1)
[2011-06-10 11:37] upgraded avahi (0.6.30-2 -> 0.6.30-3)
[2011-06-10 11:37] upgraded gcc-libs (4.6.0-5 -> 4.6.0-6)
[2011-06-10 11:37] upgraded boost-libs (1.46.1-2 -> 1.46.1-3)
[2011-06-10 11:38] upgraded chromium (11.0.696.77-1 -> 12.0.742.91-1)
[2011-06-10 11:38] upgraded coreutils (8.12-1 -> 8.12-2)
[2011-06-10 11:38] upgraded gcc (4.6.0-5 -> 4.6.0-6)
[2011-06-10 11:38] upgraded gcc-ada (4.6.0-5 -> 4.6.0-6)
[2011-06-10 11:38] upgraded gcc-fortran (4.6.0-5 -> 4.6.0-6)
[2011-06-10 11:38] upgraded gcc-objc (4.6.0-5 -> 4.6.0-6)
[2011-06-10 11:38] upgraded gtk3 (3.0.10-2 -> 3.0.11-1)
[2011-06-10 11:38] upgraded openjdk6 (6.b22_1.10.1-2 -> 6.b22_1.10.2-1)
[2011-06-10 11:38] upgraded icedtea-web (1.0.2-1 -> 1.1-2)
[2011-06-10 11:38] ATTENTION UDEV:
[2011-06-10 11:38] ---------------
[2011-06-10 11:38] Arch's custom blacklisting logic has been removed. MOD_AUTOLOAD and
[2011-06-10 11:38] blacklisting in MODULES no longer works.
[2011-06-10 11:38] See 'man modprobe.conf' for a replacement to blacklisting.
[2011-06-10 11:38] To disable a module mod1 on the kernel command line, use
[2011-06-10 11:38] mod1.disable=1
[2011-06-10 11:38] or
[2011-06-10 11:38] modprobe.blacklist=mod1
[2011-06-10 11:38] --
[2011-06-10 11:38] The following modules are no longer unconditionally loaded:
[2011-06-10 11:38] pcspkr irtty-sir analog lp ppdev ide-generic
[2011-06-10 11:38] Add them to MODULES in rc.conf if you need them.
[2011-06-10 11:38] ---------------
[2011-06-10 11:38] upgraded udev (171-1 -> 171-2)
[2011-06-10 11:38] upgraded iproute2 (2.6.37-1 -> 2.6.38-3)
[2011-06-10 11:38] warning: /etc/inittab installed as /etc/inittab.pacnew
[2011-06-10 11:38] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
[2011-06-10 11:38] Blacklisting of modules is no longer supported in rc.conf,
[2011-06-10 11:38] please add blacklist entries to /etc/modprobe.d/ instead.
[2011-06-10 11:38] upgraded initscripts (2011.05.2-1 -> 2011.06.3-1)
[2011-06-10 11:38] upgraded inputproto (2.0.1-1 -> 2.0.2-1)
[2011-06-10 11:38] upgraded inxi (1.5.11-1 -> 1.6.5-1)
[2011-06-10 11:38] upgraded jfsutils (1.1.14-2 -> 1.1.15-2)
[2011-06-10 11:38] >>> Updating module dependencies. Please wait ...
[2011-06-10 11:38] >>> MKINITCPIO SETUP
[2011-06-10 11:38] >>> ----------------
[2011-06-10 11:38] >>> If you use LVM2, Encrypted root or software RAID,
[2011-06-10 11:38] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2011-06-10 11:38] >>> More information about mkinitcpio setup can be found here:
[2011-06-10 11:38] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2011-06-10 11:38]
[2011-06-10 11:38] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2011-06-10 11:38] ==> Building image "default"
[2011-06-10 11:38] ==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2011-06-10 11:38] :: Begin build
[2011-06-10 11:38] :: Parsing hook [base]
[2011-06-10 11:39] :: Parsing hook [udev]
[2011-06-10 11:39] :: Parsing hook [autodetect]
[2011-06-10 11:39] :: Parsing hook [pata]
[2011-06-10 11:39] :: Parsing hook [scsi]
[2011-06-10 11:39] :: Parsing hook [sata]
[2011-06-10 11:39] :: Parsing hook [filesystems]
[2011-06-10 11:39] :: Generating module dependencies
[2011-06-10 11:39] :: Generating image '/boot/kernel26.img'...SUCCESS
[2011-06-10 11:39] ==> SUCCESS
[2011-06-10 11:39] ==> Building image "fallback"
[2011-06-10 11:39] ==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2011-06-10 11:39] :: Begin build
[2011-06-10 11:39] :: Parsing hook [base]
[2011-06-10 11:39] :: Parsing hook [udev]
[2011-06-10 11:39] :: Parsing hook [pata]
[2011-06-10 11:39] :: Parsing hook [scsi]
[2011-06-10 11:39] :: Parsing hook [sata]
[2011-06-10 11:39] :: Parsing hook [filesystems]
[2011-06-10 11:40] :: Generating module dependencies
[2011-06-10 11:40] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2011-06-10 11:40] ==> SUCCESS
[2011-06-10 11:40] upgraded kernel26 (2.6.38.7-1 -> 2.6.38.8-1)
[2011-06-10 11:40] upgraded kernel26-headers (2.6.38.7-1 -> 2.6.38.8-1)
[2011-06-10 11:40] upgraded lib32-gcc-libs (4.6.0-5 -> 4.6.0-6)
[2011-06-10 11:40] upgraded libpurple (2.7.11-5 -> 2.8.0-1)
[2011-06-10 11:40] upgraded libwebkit (1.4.0-2 -> 1.4.1-1)
[2011-06-10 11:40] upgraded net-tools (1.60-14 -> 1.60-16)
[2011-06-10 11:40] installed lxmenu-data (0.1.1-1)
[2011-06-10 11:40] upgraded pcmanfm (0.9.8-5 -> 0.9.8-6)
[2011-06-10 11:40] upgraded pidgin (2.7.11-5 -> 2.8.0-1)
[2011-06-10 11:40] upgraded python2-sqlalchemy (0.7.0-1 -> 0.7.1-1)
[2011-06-10 11:40] upgraded qt (4.7.3-1 -> 4.7.3-3)
[2011-06-10 11:40] upgraded xfe (1.32.3-1 -> 1.32.4-1) -
Using pacman to update just one repo
I frequently use ABS, and as I understand it after you make a new package in /var/abs/local, you have to run gensync to update your local repository, then sync pacman with it. I tell pacman to use wget for file transfers, and I have a lot of unofficial repositories in my pacman.conf, so every time I run pacman -Sy, it takes it a few minutes to sync with all the repositories, but often I only want to update my local one. Is there any way to do this with pacman right now?
edit: if you wonder why I don't just control+c out of it after it syncs local, it's because I use wget as my download agent, and after you kill one wget it goes and tries the next repository mirror, so you're holding it down for ~10 seconds before it cancels everything. And it looks messycactus wrote:
sudo pacman -Sy --config /etc/pacman.d/extra
the nice thing about having each repo in a seperate include file like the default setup is...you can easily do the above.
rock on pacman!
cactus for the win!
I never knew that... even though I'd rarely use it, that's awesome. Thanks. -
Pacman kernel update cannot resolve dependency [SOLVED]
Hi guys, I'm new to Arch and I just installed today! I'm working with Pacman currently, and trying to perform a system update. However, when I try to upgrade the kernel with pacman -Syu kernel26, it says I could not satisfy dependencies for ndiswrapper and tiacx because I need a newer kernel. But I'm trying to install a newer kernel! Plus, they don't seem like they matter for a kernel anyways. Can someone explain to me what is going on? Thanks, I appreciate it!
Last edited by sunnieside-up (2011-08-11 09:16:11)No, pacman is telling you that it can't install the newer kernel because tiacx and ndiswrapper require an older kernel than what pacman is trying to upgrade you to. You'll need to remove those packages if you want to upgrade because we no longer support them in the binary repos.
In the future, posting actual output rather than paraphrasing is greatly appreciated.
Last edited by falconindy (2011-08-11 02:24:26) -
hi. I have not used or updated this system in months. I updated the mirror list, new keys, etc but when I try to update pacman I get:
[luser@(none) pacman.d]$ sudo pacman -S pacman
resolving dependencies...
looking for inter-conflicts...
Targets (7): bash-4.2.045-5 filesystem-2013.05-2 glibc-2.18-5 libarchive-3.1.2-2
linux-api-headers-3.10.6-1 lzo2-2.06-1 pacman-4.1.2-1
Total Installed Size: 45.44 MiB
Net Upgrade Size: -3.01 MiB
Proceed with installation? [Y/n]
(7/7) checking package integrity [####################################] 100%
(7/7) loading package files [####################################] 100%
(7/7) checking for file conflicts [####################################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
what files are conflicting? How to fix this?ok, so in looking at this I have the following:
[luser@(none) pacman.d]$ sudo pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
[sudo] password for luser:
error: cannot determine ownership of directory '/bin'
error: cannot determine ownership of directory '/sbin'
error: cannot determine ownership of directory '/usr/sbin'
cacheclean 2.1-5
ccsm 0.8.4-3
compiz-bcop 0.8.8-2
compiz-core 0.8.8-3
compiz-decorator-gtk 0.8.8-3
compiz-decorator-kde 0.8.8-3
compiz-fusion-plugins-extra 0.8.8-2
compiz-fusion-plugins-main 0.8.8-2
compizconfig-python 0.8.4-4
consolekit 0.4.6-4
dbus-core 1.6.8-1
emerald 0.8.8-2
emerald-themes 0.6.0-4
fusion-icon 1:0.1-1
gigolo 0.4.1-2
gnuradio 3.5.3-0
gqrx 1.9.237-1
gr-baz-git 20120609-1
gr-osmosdr-git 20120612-1
hamlib 1.2.15-2
hsqldb-java 1:1.8.0.10-2
initscripts 2012.09.2-2
khrplatform-devel 8.0.4-3
libcompizconfig 0.8.8-2
libegl 8.0.4-3
libgbm 8.0.4-3
libgl 8.0.4-3
libglapi 8.0.4-3
libgles 8.0.4-3
libmysqlclient 5.5.28-1
libsoup-gnome 2.38.1-1
libuhd 3.4.2-1
libwebkit3 1.8.3-1
mysql 5.5.28-1
mysql-clients 5.5.28-1
pyatspi 2.4.0-1
python2-distribute 0.6.28-1
qt 4.8.3-4
qwt5 5.2.2-1
rtl-sdr-git 20120923-1
sysvinit 2.88-8
terminal 0.4.8-2
ttf-ms-fonts 2.0-9
This is quite a number of files. Where do I go to 'Fix' them? -
Pajman - my pacman improvement (updated)
In page 2 of this topic you can find a big improvement of pajman
pajman is a script that has my own version of pacman -Ss and -Qs and pacman -Sc.
pajman -Ps [string] (search) will search for a package looking only in the package name. Lots of times faster than -Ss, and usually you only look for the package name.
pajman -Psi [string] (search, info) is the same than "pajman -Ps" but it also shows the description of the package.
pajman -Pc (clean) will remove from cache all packages that are not installed though they are not outdated. I thought of it after uninstalling gnome: lots of packages that I didn't want where kept in cache because they where up to date.
Another point against usual pacman search is that it shows in yellow the packages that you have installed
It also looks for packages that you have installed but that are not in a repo
If you pass an argument different than -P?? it calls to srcpac if you've got it installed, otherwise it calls to pacman.
looks like this:
and here's the source:
/usr/bin/pajman
#!/bin/bash
PACDIR="/var/lib/pacman/"
TEMP_FILE="/tmp/busca.$USER.$$"
REPOS=$(ls $PACDIR)
function pinfo {
PROPERA="0"
RESP=""
for linia in $(cat $1/desc); do
if [ "$PROPERA" == "1" ]; then
if (echo $linia|grep "%">/dev/null); then
echo - $RESP
break
else
RESP="$RESP $linia"
fi
fi
if [ "$linia" == "%DESC%" ]; then
PROPERA="1"
fi
done
function search {
# First we look for packages in the repos
for repo in $REPOS; do
if [ "$repo" != "local" ]; then
if (ls $PACDIR$repo|grep -e $1>$TEMP_FILE); then
echo -e "33[1;37m[$repo]33[m"
for ii in $(cat $TEMP_FILE); do
if [ -d "$PACDIR"local/"$ii" ]; then
echo -e "33[1;33m$ii33[m"
else
echo $ii
fi
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
done
fi
fi
done
#Then we look for packages that are not in a repo
cd $PACDIR"/local"
echo -e "33[1;37m* now looking for packages that are not in a repo. Ctrl + C to stop.33[m"
for package in $(find -name "*"$1"*"); do
trobat="0"
for repo in $REPOS; do
if [ "$repo" != "local" ]; then
if [ -d $PACDIR/$repo/$package ]; then
trobat="1"
fi
fi
done
if [ "$trobat" == "0" ]; then
echo -e "33[1;33m$package33[m"|sed 's|./||'
if [ "$PINF" == "1" ]; then
pinfo $PACDIR/local/$package
fi
fi
done
function clean {
for pack in $(ls /var/cache/pacman/pkg|sed 's|.pkg.tar.gz||'); do
if [ ! -d $PACDIR/local/$pack ]; then
echo "$pack not installed. Package removed from cache."
rm /var/cache/pacman/pkg/$pack".pkg.tar.gz"
fi
done
if (echo $1|grep P>/dev/null); then
if (echo $1|grep s>/dev/null); then
if (echo $1|grep i>/dev/null); then
PINF="1"
fi
search $2
elif (echo $1|grep c>/dev/null); then
clean
fi
else
if [ -f /usr/bin/srcpac ]; then
srcpac $@
else
pacman $@
fi
fi<edit>
- to avoid using a repo use NOREPOS as you would use REPOS. Example:
NOREPOS="testing unstable" pajman -Pinst <package>
</ediT>
I've got it:
HELP, PLEASE:
I didn't made it to mark not explicitily installed dependencies as not explicitily installed. How is it done by pacman?
TODO:
* ¿download all files and then start installing? now it downloads and installs packages one by one. As pacman does this the other way I think I'll update the script once i've got it.
* do not run if pacman or pajman are already running.
WHAT DOES IT DO?
See help below to see what it can do (specially see TIPS)
Please, submit bugs and improvements you can find
pajman help:
-P[options] will use pajman routines. All other options will be passed to pacman (or srcpac)
options:
s [string] Search for [string] in packages' names
sq [string] Quick search (like -Ps but won't check if other versions installed. Much more faster)
o Only search for installed packages. Use it when searching (-Pso -Psqo)
i Show package description. Use it when searching or upgrading
inst [packages] Install [packages]
y Update database
c Remove from cache all packages that are not installed
u Compare local versions with database versions and upgrade.
r [packages] Rollback. Install previos installed verisons of packages. Useless if you have
cleaned package cache
x [string] [str] Search for packages that match [string] and do not match [str] and remove them
xs [string] [str] Same as x but pass 'recursive' parameter to pacman
xg [group] Remove [group] group of packages
xgs [group] Same as xg but pass 'recursive' parameter to pacman
ESPECIAL FEATURE: Especify repo in command line:
usage: REPOS="[repos]" pajman -P[x] [string or packages]
example:
REPOS="current extra tpowa" pajman -Pyinst kdebase
- This example will update current, extra and tpowa databases, ask you if you want to install
kdebase from extra or tpowa and either you choose extra or tpowa it will install any depencies
you will need from extra
NOREPOS is a list of repos that will be omited
TIP: create an alias for pacman=pajman
TIP: add export NOREPOS='testing' and add [testing] repo to your pacman.conf
YSKICTUI TIP: you can run simultaneously many pajman instances.
VERY YSKICTUI TIP: rename /sbin/ldconfig /sbin/ldconfig.pajman to speed up package install process
(YSKICTUI = You Should Know Its Consequences To Use It)
/usr/bin/pajman
#!/bin/bash
PACDIR="/var/lib/pacman/"
SPACDIR='/var/lib/pacman/'
TEMP_FILE="/tmp/busca.$USER.$$"
function call_pacman {
while [ -f /tmp/pacman.lck ]; do
if ! (ps -A|grep pacman>/dev/null); then
echo Removed pacman lock since pacman is not running
rm /tmp/pacman.lck
elif [ "$SAIDWAIT" == "" ]; then
echo Pacman is running. Waiting for it to end
SAIDWAIT="1"
sleep 1
else
sleep 1
fi
done
pacman $@
function colorpc {
if [ "$1" != "" ]; then
REDPC=""
YELLOWPC=""
WHITEPC=""
GREENPC=""
ORANGEPC=""
PINKPC=""
NORMALPC=""
else
REDPC="33[1;31m"
YELLOWPC="33[1;33m"
WHITEPC="33[1;37m"
GREENPC=""
ORANGEPC="33[2;33m"
PINKPC="33[1;35m"
NORMALPC="33[m"
fi
if [ "$COLORPC" == "" ]; then
colorpc
fi
function getserver {
local REPOSER=$1
local PROPERA="0"
for linia in $(cat /etc/pacman.conf|sed 's/Server *= *//'|sed 's/Include *= *//'|sed 's/^#.*$//'); do
if [ "$PROPERA" == "1" ]; then
if ! (echo $linia|grep :>/dev/null); then
for server in $(cat $linia|sed 's/Server *= *//'|sed 's/^[.*].*$//'|sed 's/^#.*$//'); do
CURSERVER="$server"
break
done
else
CURSERVER="$linia"
fi
break
fi
if [ "$linia" == "[$REPOSER]" ]; then
PROPERA="1"
fi
done
if [ "$REPOS" == "" ]; then
REPOS=$(ls $PACDIR --ignore=local --ignore=rollback)
else
for repo in $REPOS; do
getserver $repo
if [ "$CURSERVER" == "" ]; then
echo -e $REDPC"ERROR: "$WHITEPC"Repo $repo not found in /etc/pacman.conf"$NORMALPC
exit
fi
done
DONTLOOKINLOCAL="1"
fi
if [ "$NOREPOS" != "" ]; then
for i in $NOREPOS; do
REPOS=$(echo $REPOS|sed 's/[ ]*^*'$i'[ ]*$*/ /g')
done
fi
function pinfo {
PROPERA="0"
RESP=""
for linia in $(cat $1/desc); do
if [ "$PROPERA" == "1" ]; then
if (echo $linia|grep "%">/dev/null); then
echo - $RESP
break
else
RESP="$RESP $linia"
fi
fi
if [ "$linia" == "%DESC%" ]; then
PROPERA="1"
fi
done
function pgroup {
PROPERA="0"
RESP=""
for linia in $(cat $1/desc); do
if [ "$PROPERA" == "1" ]; then
if (echo $linia|grep "%">/dev/null); then
RESP="$RESP "
break
else
RESP="$RESP $linia"
fi
fi
if [ "$linia" == "%GROUPS%" ]; then
PROPERA="1"
fi
done
function localsearch {
if [ "$DONTLOOKINLOCAL" == "1" ]; then
return
fi
cd $PACDIR"/local"
echo -e "$WHITEPC* now looking for packages that are not in a repo. Ctrl + C to stop."$NORMALPC
for package in $(find -name "*"$1"*"); do
trobat="0"
for repo in $REPOS; do
if [ -d $PACDIR/$repo/$package ]; then
trobat="1"
fi
done
if [ "$trobat" == "0" ]; then
echo -e "$YELLOWPC$package"$NORMALPC|sed 's|./||'
if [ "$PINF" == "1" ]; then
pinfo $PACDIR/local/$package
fi
fi
done
function search {
# First we look for packages in the repos
local SSTR="$1"
for repo in $REPOS; do
if (ls $PACDIR$repo|grep -e $SSTR>$TEMP_FILE); then
echo -e $WHITEPC"[$repo]"$NORMALPC
for ii in $(cat $TEMP_FILE); do
for LOCALVER in $(echo "$PACDIR"local/"$ii"|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')-*-*; do
localv=$(echo "$LOCALVER"|sed s/$SPACDIR"local/"//)
loca=$(echo $localv|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')
if [ "$localv" == "$ii" ] && [ -d $LOCALVER ]; then
echo -e "$YELLOWPC$ii"$NORMALPC
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
elif [ "$loca" == "$(echo $ii|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')" ] && [ -d $LOCALVER ]; then
echo -e "$ORANGEPC$ii (localver is $(echo $LOCALVER|sed s/$SPACDIR"local/"//))"$NORMALPC
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
elif [ ! $ONLYINSTALLED ]; then
echo $ii
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
fi
done
done
fi
done
#Then we look for packages that are not in a repo
localsearch $SSTR
function clean {
for pack in $(ls /var/cache/pacman/pkg|sed 's|.pkg.tar.gz||'); do
if [ ! -d $PACDIR/local/$pack ]; then
echo "$pack not installed. Package removed from cache."
rm /var/cache/pacman/pkg/$pack".pkg.tar.gz"
fi
done
function upgrade {
LOCALS=$(ls -l $PACDIR'local/'|grep ^d|sed 's/^.*:[0-9][0-9] //');
for repo in $REPOS; do
DATA=$(ls $PACDIR$repo|grep -e -)
echo -e $WHITEPC"[$repo]"$NORMALPC
for ii in $DATA; do
PACKNAME=$(echo $ii|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g');
LOCALVER=$(echo $LOCALS|grep -o [ ,^]$PACKNAME-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*[ ,$])
if [ "$LOCALVER" != "" ] && [ "$LOCALVER" != "$ii" ]; then
VER1=$(echo $LOCALVER|sed 's/'$PACKNAME-'//'|sed 's/-[0-9,.,_,a-z,A-Z]*$//g')
VER2=$(echo $ii|sed 's/'$PACKNAME-'//'|sed 's/-[0-9,.,_,a-z,A-Z]*$//g')
checkver $VER1 $VER2
if [ "$GREATVER" == "FIRST" ]; then
echo -e "$ORANGEPC$ii local version is newer ($LOCALVER)"$NORMALPC
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
elif [ "$GREATVER" == "SECOND" ]; then
echo -e "$PINKPC$ii must be upgraded ($LOCALVER)"$NORMALPC
PACKSTOINST="$repo/$ii $PACKSTOINST"
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
else
let "BUILD1=$(echo $LOCALVER|sed s/$PACKNAME-$VER1-//)"
let "BUILD2=$(echo $ii|sed s/$PACKNAME-$VER1-//)"
if [[ $BUILD1 > $BUILD2 ]]; then
echo -e "$ORANGEPC$ii local version is newer ($LOCALVER)"$NORMALPC
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
elif [[ $BUILD1 < $BUILD2 ]]; then
echo -e "$PINKPC$ii must be upgraded ($LOCALVER)"$NORMALPC
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
PACKSTOINST="$repo/$ii $PACKSTOINST"
fi
fi
fi
done
done
for packtoinst in $PACKSTOINST; do
checkpacktoinst $packtoinst
done
# function to check if a package is installed
function is_installed {
LPAC="$PACDIR"local/"$1"-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*
for llpac in $LPAC; do
if [ $(echo $llpac|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g') == "$PACDIR"local/"$1" ]; then
echo 1
fi
done
function download {
local SITE="$1"
local PACK="$2"
local REPO="$3"
if [ -f /var/cache/pacman/pkg/$PACK ]; then
MD5SUM=$(md5sum /var/cache/pacman/pkg/$PACK | sed 's/ .*$//')
fi
local PROPERA="0"
for linia in $(cat $PACDIR$REPO/$(echo $2|sed 's/.pkg.tar.gz//')/desc); do
if [ "$PROPERA" == "1" ]; then
if [ "$linia" == "$MD5SUM" ]; then
echo Package already downloaded
else
snarf $SITE/$PACK /var/cache/pacman/pkg/$PACK
MD5SUM=$(md5sum /var/cache/pacman/pkg/$PACK | sed 's/ .*$//')
if [ "$MD5SUM" != "$linia" ]; then
echo -e $PINKPC"MD5SUMS do not match."$NORMALPC
echo Downloading the package again...
rm /var/cache/pacman/pkg/$PACK
download $SITE $PACK $REPO
fi
fi
return
fi
if [ "$linia" == "%MD5SUM%" ]; then
PROPERA="1"
fi
done
function ask {
echo -e $1
select opt in $2; do
ANSWER=$opt
return
done
function checkpacktoinst {
local FOUNDS="$1"
if [ ! -f $PACDIR$FOUNDS'/depends' ]; then
echo -e $REDPC"ERROR: "$WHITEPC"Cannot find package info"$NORMALPC
exit
fi
echo ==> Checking for conflicts
PROPERA="0"
for linia in $(cat $PACDIR$FOUNDS'/depends'); do
if [ "$PROPERA" == "1" ]; then
if (echo $linia|grep "%">/dev/null); then
break
else
INSTANCE=$PACDIR'local/'$linia-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*
for inst in $INSTANCE; do
inst=$(echo $inst|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')
if [ "$inst" == "$PACDIR"local/"$linia" ]; then
echo "STOPING: The package conflicts with "$linia". Install it with 'pacman -S'"
exit
fi
done
fi
fi
if [ "$linia" == "%CONFLICTS%" ]; then
PROPERA="1"
fi
done
echo ==> Checking for dependencies
PROPERA="0"
for linia in $(cat $PACDIR$FOUNDS'/depends'); do
if [ "$PROPERA" == "1" ]; then
COMP=""
NEEDEDVER=""
if (echo $linia|grep '<='>/dev/null); then
NEEDEDVER=$(echo $linia|sed 's/.*<=//')
linia=$(echo $linia|sed 's/<=.*//')
COMP="<="
elif (echo $linia|grep '>='>/dev/null); then
NEEDEDVER=$(echo $linia|sed 's/.*>=//')
linia=$(echo $linia|sed 's/>=.*//')
COMP=">="
elif (echo $linia|grep '<'>/dev/null); then
NEEDEDVER=$(echo $linia|sed 's/.*<//')
linia=$(echo $linia|sed 's/<.*//')
COMP="<"
elif (echo $linia|grep '>'>/dev/null); then
NEEDEDVER=$(echo $linia|sed 's/.*>//')
linia=$(echo $linia|sed 's/>.*//')
COMP=">"
elif (echo $linia|grep '='>/dev/null); then
NEEDEDVER=$(echo $linia|sed 's/.*=//')
linia=$(echo $linia|sed 's/=.*//')
COMP="="
fi
if [[ "$COMP" != "" ]]; then
echo -e $REDPC"WARNING: "$WHITEPC" $FOUNDS needs a concrete version of $linia ( $linia $COMP $NEEDEDVER ). This check will be skiped. Use pacman -S to have this check done."$NORMALPC
fi
if (echo $linia|grep "%">/dev/null); then
break
elif (echo $PACKSTOINST|grep /$linia-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*>/dev/null); then
echo "Needed $linia is to be installed"
elif (echo $PROVIDENCES|grep "%$linia%">/dev/null); then
echo "Dependency $linia is provided and has already been check."
else
INSTANCE=$PACDIR'local/'$linia-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*
for inst in $INSTANCE; do
inst=$(echo $inst|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')
if [ "$inst" == "$PACDIR"local/"$linia" ]; then
echo "Needed $linia is already installed"
break
elif [ "$inst" == "$PACDIR"local/"$linia"'-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*' ]; then
echo
echo "Needed $linia needs to be installed..."
ipack $linia
fi
done
fi
fi
if [ "$linia" == "%DEPENDS%" ]; then
PROPERA="1"
fi
done
# function to install a package
function ipack {
echo "==> Preparing to install $1"
if [ "$(is_installed $1)" == "1" ]; then
echo -e "$YELLOWPC==> Package already installed"$NORMALPC
ask "Do you want to proceed? n"$YELLOWPC"WARNING:"$WHITEPC" saying yes will render useless to rollback this package"$NORMALPC "yes no"
if [ "$ANSWER" != "yes" ]; then
exit
fi
else
echo ==> Package not installed
fi
local FOUNDS=""
for repo in $REPOS; do
CHECK=$PACDIR$repo/"$1"-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*
for this in $CHECK; do
tthis=$(echo $this|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')
if [ "$tthis" == "$PACDIR"$repo/"$1" ]; then
if [ -d $PACDIR'local/'$(echo $this|sed s/$SPACDIR$repo'/'//) ]; then
this=$(echo -e "$YELLOWPC")$this$(echo -e $NORMALPC)
fi
this=$(echo $this|sed 's/'$SPACDIR'//g')
FOUNDS="$FOUNDS $this"
fi
done
done
if (echo $FOUNDS|grep ' '>/dev/null); then
echo -e $WHITEPC==> The package is avaible in more than one repo$NORMALPC
echo "What version do you want to install?"
select opt in $(echo $FOUNDS|sed 's/'$SPACDIR'//g'); do
FOUNDS=$opt
break
done
elif [ "$FOUNDS" == "" ]; then
echo "Package not found"
echo "Let's see if it is provided by another package"
for possib in $(find $PACDIR -name depends); do
PROPERA="0"
PROVIDERS=""
for linia in $(cat $possib); do
if [ "$PROPERA" == "1" ]; then
if (echo $linia|grep "%">/dev/null); then
break
elif (echo $linia|grep $1>/dev/null); then
PROVIDER=$(echo $possib|sed s/$SPACDIR//|sed 's/[a-z]*///'|sed 's//depends//'|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')
PROVIDERS="$PROVIDERS $PROVIDER"
echo $PROVIDER provides $1
PROVIDENCES="$PROVIDENCES%$PROVIDER%%$1%"
if [ "$(is_installed $PROVIDER)" == "1" ]; then
echo $PROVIDER is already installed. Keep going on.
PROVIDERS=""
return
fi
fi
fi
if [ "$linia" == "%PROVIDES%" ]; then
PROPERA="1"
fi
done
done
if [ "$PROVIDERS" != "" ]; then
select provider in $PROVIDERS; do
$FOUNDS=$provider
break
done
exit
fi
else
echo ==> Only one coincidence found:
fi
# We remove coloring
FOUNDS=$(echo $FOUNDS|cat -v|sed 'y/^[[;/§§§§/'|sed s/§§§1§33m//|sed s/§§§m//)
echo $FOUNDS is going to be installed
checkpacktoinst $FOUNDS
PACKSTOINST="$FOUNDS $PACKSTOINST"
function quicksearch {
# First we look for packages in the repos
for repo in $REPOS; do
if [ "$repo" != "local" ]; then
if (ls $PACDIR$repo|grep -e $1>$TEMP_FILE); then
echo -e $WHITEPC"[$repo]"$NORMALPC
for ii in $(cat $TEMP_FILE); do
if [ -d "$PACDIR"local/"$ii" ]; then
echo -e "$YELLOWPC$ii"$NORMALPC
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
elif [ ! $ONLYINSTALLED ]; then
echo $ii
if [ "$PINF" == "1" ]; then
pinfo $PACDIR$repo/$ii
fi
fi
done
fi
fi
done
#Then we look for packages that are not in a repo
localsearch $1
function needroot {
if [ "$UID" != "0" ]; then
echo -e $REDPC"ERROR: "$WHITEPC"You cannot perform "$1" unless you are root."$NORMALPC
exit
fi
function partver {
local CURRIT
local NUMITS
let "NUMITS=$2"
let "CURRIT=0"
for partver in $(echo $1|sed 's/./ /g'); do
let "CURRIT=$CURRIT+1"
if [[ $CURRIT == $NUMITS ]]; then
PARTVER="$partver"
return
fi
done
PARTVER=""
function checkver {
local CURRIT
let "CURRIT=0"
SECVER="$2"
for part in $(echo $1|sed 's/./ /g'); do
let "CURRIT=$CURRIT+1"
partver $SECVER $CURRIT
if [[ "$part" != "0" ]]; then
part=$(echo $part|sed 's/^0//')
fi
if [[ "$PARTVER" != "0" ]]; then
PARTVER=$(echo $PARTVER|sed 's/^0//')
fi
if ! (echo $part|grep [a-z,A-Z,_]>/dev/null) && ! (echo $PARTVER|grep [a-z,A-Z,_]>/dev/null); then
let "SUM=$part-$PARTVER"
if [[ $SUM > 0 ]]; then
GREATVER="FIRST"
return
elif [[ $SUM < 0 ]]; then
GREATVER="SECOND"
return
fi
else
SUBVER1=$(echo $part|sed 's/[a-z,A-Z,_][0-9]*//g')
SUBVER2=$(echo $PARTVER|sed 's/[a-z,A-Z,_][0-9]*//g')
if ! (echo $SUBVER1|grep '^[0-9]'>/dev/null); then
SUBVER1="0$SUBVER1"
fi
if ! (echo $SUBVER2|grep '^[0-9]'>/dev/null); then
SUBVER2="0$SUBVER2"
fi
let "SUM=$SUBVER1-$SUBVER2"
if [[ $SUM > 0 ]]; then
GREATVER="FIRST"
return
elif [[ SUM < 0 ]]; then
GREATVER="SECOND"
return
elif ! (echo $part|grep [a-z,A-Z,_]>/dev/null) && (echo $PARTVER|grep [a-z,A-Z,_]>/dev/null); then
GREATVER="FIRST"
return
elif (echo $part|grep [a-z,A-Z,_]>/dev/null) && ! (echo $PARTVER|grep [a-z,A-Z,_]>/dev/null); then
GREATVER="SECOND"
return
else
if [[ $part > $PARTVER ]]; then
GREATVER="FIRST"
return
elif [[ $part < $PARTVER ]]; then
GREATVER="SECOND"
return
fi
fi
fi
done
let "CURRIT=$CURRIT+1"
partver $SECVER $CURRIT
if [ "$PARTVER" != "" ]; then
GREATVER="SECOND"
return
fi
GREATVER="NONE"
function instpacks {
if [ "$PACKSTOINST" == "" ]; then
echo No packages to be installed
return
fi
echo
echo -e $WHITEPC"Is it ok to install next packages?"$NORMALPC
echo $PACKSTOINST
OPTS="yes no"
select opt in $OPTS; do
if [ "$opt" == "yes" ]; then
break
fi
exit
done
echo
echo ==> Installing:
if (echo $PACKSTOINST|grep glibc>/dev/null); then
echo glibc needs is to be installed. Please, install it with pacman -S.
exit
fi
if [ ! -d /var/lib/pacman/rollback ]; then
mkdir -p /var/lib/pacman/rollback
fi
for pack in $PACKSTOINST; do
echo -e $WHITEPC"==> Installing $pack"$NORMALPC
REPO=$(echo $pack|sed 's//.*//')
PACKN=$(echo $pack|sed 's/.*///').pkg.tar.gz
getserver $REPO
download $CURSERVER $PACKN $REPO
if [ -d $PACDIR/rollback/$PACKN ]; then
rm -r $PACDIR/rollback/$PACKN
fi
OLDPACK=$(echo $PACKN|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*.pkg.tar.gz$//g')
INSTANCE=$PACDIR'local/'$OLDPACK-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*
for inst in $INSTANCE; do
insta=$(echo $inst|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')
if [ "$insta" == "$PACDIR"local/"$OLDPACK" ]; then
cp $inst "$PACDIR"rollback -r
break
fi
done
if [ "$FORCE" == "1" ]; then
call_pacman -Udf /var/cache/pacman/pkg/$PACKN
else
call_pacman -Ud /var/cache/pacman/pkg/$PACKN
fi
if [ "$(is_installed $OLDPACK)" != "1" ]; then
echo -e $REDPC"ERROR: $WHITEPC"Package $pack has failed to install$NORMALPC
ask "Do you want to install it again forcing file conflicts?" "yes no"
if [ "$ANSWER" == "yes" ]; then
call_pacman -Udf /var/cache/pacman/pkg/$PACKN
if [ "$(is_installed $OLDPACK)" != "1" ]; then
echo -e $REDPC"ERROR: $WHIETEPC"Package $pack has failed AGAIN to install$NOMALPC
ask "Do you want to install remaining packages?" "yes no"
if [ "$ANSWER" == "no" ]; then
exit
fi
fi
else
ask "Do you want to install remaining packages?" "yes no"
if [ "$ANSWER" == "no" ]; then
exit
fi
fi
fi
done
echo
echo Updating shared library links. Ctrl + C to stop.
if [ -f /sbin/ldconfig.pajman ]; then
ldconfig.pajman
fi
function searchandremove {
MATCHSTRING=$1
shift
echo -e $WHITEPC"==> Removing packages that match "$MATCHSTRING" and do not match "$@""$NORMALPC
colorpc "no"
local TOREMOVE=$(ONLYINSTALLED="1" quicksearch $MATCHSTRING|sed 's/[.*]$//g'|sed 's/* now looking for packages that are not in a repo. Ctrl + C to stop.//g')
if [ "$COLORPC" == "" ]; then
colorpc
fi
local NEWTOREMOVE=""
for tore in $TOREMOVE; do
local FOUND=""
for noto in $@; do
if (echo $tore|grep $noto>/dev/null); then
FOUND="1"
fi
done
if [ "$FOUND" == "" ]; then
NEWTOREMOVE="$NEWTOREMOVE $tore"
fi
done
TOREMOVE=$NEWTOREMOVE
if [ "$TOREMOVE" == "" ]; then
echo No package to be removed
exit
fi
ask $WHITEPC"Is it ok to "$REDPC"REMOVE"$WHITEPC" this packages?"$YELLOWPC"n$(echo $TOREMOVE|sed 's/ /\n/g')$NORMALPC" "yes no"
TOREMOVE=$(echo $TOREMOVE|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]* / /g')
TOREMOVE=$(echo $TOREMOVE|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')
echo $TOREMOVE
if [ $ANSWER == "yes" ]; then
call_pacman -R$RECURSIVEREMOVE $TOREMOVE
fi
function removegroup {
echo -e $WHITEPC"==> Removing "$1" group"$NORMALPC
local TOREMOVE=""
for pack in $(ls $PACDIR/local); do
pgroup $PACDIR"local/"$pack
if [ "$RESP" == " $1 " ]; then
TOREMOVE="$TOREMOVE $pack"
echo -e $YELLOWPC$pack$WHITEPC
fi
done
if [ "$TOREMOVE" == "" ]; then
echo No package to be removed
exit
fi
ask $WHITEPC"Is it ok to "$REDPC"REMOVE"$WHITEPC" above packages?"$NORMALPC "yes no"
TOREMOVE=$(echo $TOREMOVE|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]* / /g')
TOREMOVE=$(echo $TOREMOVE|sed 's/-[0-9,.,_,a-z,A-Z]*-[0-9,.,_,a-z,A-Z]*$//g')
if [ $ANSWER == "yes" ]; then
call_pacman -R$RECURSIVEREMOVE $TOREMOVE
fi
if (echo $1|grep P>/dev/null); then
CHECKSNARF=$(snarf --help)
if [ "$CHECKSNARF" == "" ]; then
ask "Snarf not installed but required by pajman. Do you want to install it?" "yes no"
if [ "$ANSWER" != "no" ]; then
call_pacman -S snarf
else
echo If you do not install snarf, there is no pajman for you
exit
fi
fi
if (echo $1|grep y>/dev/null); then
needroot "synchronize database"
echo -e $WHITEPC==> Updating database$NORMALPC
if [ ! -d /var/lib/pajman ]; then
mkdir -p /var/lib/pajman
fi
for repo in $REPOS; do
echo ==> Updating $repo
getserver $repo
snarf $CURSERVER/$repo.db.tar.gz /var/lib/pajman/$repo.db.tar.gz
if [ -f /var/lib/pajman/$repo.db.tar.gz ]; then
cd /var/lib/pajman
tar xfz /var/lib/pajman/$repo.db.tar.gz
rm *.db.tar.gz
rm -r /var/lib/pacman/$repo
mkdir /var/lib/pacman/$repo
mv * /var/lib/pacman/$repo
else
echo -e $YELLOWPC"WARNING: "$WHITEPC"Repo $repo cannot be updated"$NORMALPC
fi
done
rmdir /var/lib/pajman
fi
if (echo $1|grep f>/dev/null); then
FORCE="1"
fi
if (echo $1|grep u>/dev/null); then
needroot "update packages"
if (echo $1|grep i>/dev/null); then
PINF="1"
fi
echo -e $WHITEPC==> Upgrading system$NORMALPC
upgrade
instpacks
fi
if [ "$1" == "-P" ]; then
needroot "install packages"
while [ "$#" != "1" ]; do
ipack $2
shift
done
instpacks
elif (echo $1|grep x>/dev/null); then
needroot "search and remove"
if (echo $1|grep g>/dev/null); then
RECURSIVEREMOVE="s"
fi
if (echo $1|grep g>/dev/null); then
needroot "remove groups"
while [ "$#" != "1" ]; do
removegroup $2
shift
done
else
shift
searchandremove $@
fi
elif (echo $1|grep r>/dev/null); then
needroot "rollback"
while [ "$#" != "1" ]; do
ROLLINGBACK="1"
REPOS="$REPOS rollback"
ipack $2
shift
done
instpacks
elif (echo $1|grep s>/dev/null); then
if [ "$2" == "" ]; then
echo No search string provided. Use "pajman -Ps -" to search for all packages
exit
fi
if (echo $1|grep o>/dev/null); then
ONLYINSTALLED="1"
fi
if ! (echo $1|grep q>/dev/null); then
echo -e $WHITEPC==> Searching for "$2"$NORMALPC
if (echo $1|grep i>/dev/null); then
PINF="1"
fi
search $2
else
echo -e $WHITEPC==> QUICK-Searching for "$2"$NORMALPC
if (echo $1|grep i>/dev/null); then
PINF="1"
fi
quicksearch $2
fi
elif (echo $1|grep c>/dev/null); then
clean
elif ! (echo $1|grep [y,u]>/dev/null); then
echo "Unknow paramater '$1'"
fi
elif [ "$1" == "--help" ] || [ "$#" == "0" ]; then
echo "-P[options] will use pajman routines. All other options will be passed to pacman (or srcpac)
options:
s [string] Search for [string] in packages' names
sq [string] Quick search (like -Ps but won't check if other versions installed. Much more faster)
o Only search for installed packages. Use it when searching (-Pso -Psqo)
i Show package description. Use it when searching or upgrading
inst [packages] Install [packages]
y Update database
c Remove from cache all packages that are not installed
u Compare local versions with database versions and upgrade.
r [packages] Rollback. Install previos installed verisons of packages. Useless if you have
cleaned package cache
x [string] [str] Search for packages that match [string] and do not match [str] and remove them
xs [string] [str] Same as x but pass 'recursive' parameter to pacman
xg [group] Remove [group] group of packages
xgs [group] Same as xg but pass 'recursive' parameter to pacman
ESPECIAL FEATURE: Especify repo in command line:
usage: REPOS="[repos]" pajman -P[x] [string or packages]
example:
REPOS="current extra tpowa" pajman -Pyinst kdebase
- This example will update current, extra and tpowa databases, ask you if you want to install
kdebase from extra or tpowa and either you choose extra or tpowa it will install any depencies
you will need from extra
NOREPOS is a list of repos that will be omited
TIP: create an alias for pacman=pajman
TIP: add export NOREPOS='testing' and add [testing] repo to your pacman.conf
YSKICTUI TIP: you can run simultaneously many pajman instances.
VERY YSKICTUI TIP: rename /sbin/ldconfig /sbin/ldconfig.pajman to speed up package install process
(YSKICTUI = You Should Know Its Consequences To Use It)
Now showing pacman (or srcpac) parameters:"
if [ -f /usr/bin/srcpac ]; then
srcpac --help
else
pacman --help
fi
else
if [ -f /usr/bin/srcpac ]; then
srcpac $@
else
call_pacman $@
fi
fi
Maybe you are looking for
-
Hi , Could any one of you please explain the reason for the following error while loading a DTP? <b><i>Dump: ABAP/4 processor: OBJECTS_OBJREF_NOT_ASSIGNED Exceptions in Substep: Load and Generation (Where Necessary) of Write Program</i></b> We use
-
BI7 Analyser : Sap Gui710
Dear Experts: We have installed SAP GUI 710 and loaded patches gui710_3-10002995 and add on : gui710_3-10002995. We have also install.net framework v2 We get the following error when running transaction rrmx form SAP easy access: Run time error 91 Ob
-
Hi, I want to read the data from aufk and jest table . while selecting data i have some exclude functions . Exclusions : jest-stat = 'I0045' jest-inact = ' '. jest-stat = '0012' jest-inact = ' '. jest-stat = '0016' jest-inact = ' '. I wrote the
-
Hello, How can i check the available RFC destinations in J2EE engine on Portal. (without Visual Administrator) Regards
-
I have a database that was created without following the usual standard outline order (not by me!!). This particular database sas Dense, Sparse, Dense, sparse, sparse,sparse, sparse. Now i have seen some strange behaviour on the database, for instanc