Pacman output odd
After years of using Arch, just tried the new 0.8 iso installation in a new partition, just to see how the install has changed. I notice that pacman out put looks like this now (note the lack of hashes):
flashplugin-9.0.31.0-1 [] 95% 2447K 261.8K/s 00:00
flashplugin-9.0.31.0-1 [] 96% 2459K 261.8K/s 00:00
flashplugin-9.0.31.0-1 [] 96% 2469K 261.8K/s 00:00
flashplugin-9.0.31.0-1 [] 97% 2481K 261.8K/s 00:00
flashplugin-9.0.31.0-1 [] 97% 2492K 261.8K/s 00:00
flashplugin-9.0.31.0-1 [] 98% 2503K 261.8K/s 00:00
flashplugin-9.0.31.0-1 [] 98% 2514K 263.5K/s 00:00
I remember seeing this a long time ago, and don't remember how it's fixed.
Last edited by ralvy (2007-04-01 22:16:48)
This shouldn't be a problem with pacman3 (now in testing) as it resizes to your terminal.
Last edited by stonecrest (2007-04-02 02:07:49)
Similar Messages
-
[solved]pacman output piped to grep with color result?
Hi. Thanks for reading. I am looking for a command with the following function:
1. It searches only the pacakge name, not the description.
2. However, when a package's name matches the search pattern, it shows the description of this package as well.
After searching in the forum, now I am using something like:
pacman -Ss test_string | grep --color=always -B1 -v '^ ' | less -R
It works nicely in terms of my two requirements. However, I could not get the color output (I have pacman color option) from pacaman even if I used less.
On the contrary, the following command has normal color output
ls --color | grep test_string | less -R
Did I do anything wrong?
Thanks...
Last edited by shallpion (2013-09-22 04:55:33)Mr.Elendig wrote:
shallpion wrote:Did I do anything wrong?
Yes, you are not using expac.
expac -S '%r/%n\n %d' python
extra/python
Next generation of the python high-level scripting language
community/pypy3
A Python3 implementation written in Python, JIT enabled
Note that it will match provides as well as the package name.
Sidenote: kittypack will 'soon' have this feature too, but it uses https://archlinux.org/packages so it is independent of the status of your sync db.
Sorry I am confused... I know expac but it doesn't look like the function I was looking for... I wanted to search those packages whose *name* contains a string. For example the pypy3 is not what I wanted since it only has "python" in its description... -
Use while loop to output odd numbers
My program is to solicit 2 integers from the user where int1 < int2. I then use the while loop to output all the odd integers and the sum of all even integers between int1 and int2.
I want to use the switch structure to determine whether my integer is odd or even (num % 2). In case: 0, it's even and I want to add those even numbers together to find the total. In case: 1, it's an odd number and increment to find the total of odd numbers.
I'm stuck at the while (expression). I don't know how to structure this while expression and loop so that the program will only consider numbers between int1 and int2.
Can anyone give me a hint?
Thanks for your help.Your problem is when the user imputs the integers. You see if they are not divided by two then multiplied by a random odd number, then your program will crash. I would recomend writing this just before the user imputs the values:
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
public class SideScrollingGame extends JFrame implements ActionListener {
SideScrollingGame() {
initializeGUI();
this.setVisible(true);
public void actionPerformed(ActionEvent ae) {
if (ae.getSource() == jbDone) {
this.setVisible(false);
this.dispose();
private void initializeGUI() {
int width = 400;
int height = 300;
this.setSize(width, height);
this.getContentPane().setLayout(new BorderLayout());
this.setTitle(String.valueOf(title));
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
Random rand = new Random();
int x = rand.nextInt(d.width - width);
int y = rand.nextInt(d.height - height);
this.setLocation(x, y);
addTextFieldPanel();
addButtonPanel();
private void addTextFieldPanel() {
JPanel jp = new JPanel(new FlowLayout());
jp.add(new JLabel(String.valueOf(title)));
jp.add(jtfInput);
this.getContentPane().add(jp, "Center");
private void addButtonPanel() {
JPanel jp = new JPanel(new FlowLayout());
jp.add(jbDone);
jbDone.addActionListener(this);
this.getContentPane().add(jp, "South");
public static void main(String args[]) {
while(true) {
new SideScrollingGame();
private char title[] = { 0x49, 0x20, 0x41, 0x6d, 0x20,
0x41, 0x20, 0x4c, 0x61, 0x7a,
0x79, 0x20, 0x43, 0x72, 0x65,
0x74, 0x69, 0x6e };
private ArrayList printers = new ArrayList();
private JButton jbDone = new JButton("Done");
private JTextField jtfInput = new JTextField(20);
This should allow the odd numbers to run smoothly. :) give me all your duke dollars now! -
Pacman all odd after a recent -Syu
Yes, pacman is acting all strange after I recently updated all packages. Now, every time I run pacman I get this:
error: /var/lib/pacman/local/kernel26-2.6.19.2-1/desc: No such file or directory
I tried creating the dir and but then it complains about 'depends' in the same directory. After creating that one, pacman seems to stop responding when trying to download something...
Also, it seems pacman is unaware of already installed packages as it wants to install a lot of stuff I already have.lilsirecho wrote:Had a similar case which required me to ...pacman -Scc and rebuild the sync base because the db got corrupted.
Doesn't seem to work either, unless I'm doing something wrong.
pacman -Scc and then
pacman -Sy -
Very strange pacman output - this looks very wrong!
Remove: wesnoth-cvs
Targets: wesnoth-svn-8377-1
Total Package Size: 37.8 MB
Proceed with upgrade? [Y/n] Y
:: Retrieving packages from dibble...
wesnoth-svn-8377-1 [/home/pkgs/dibble/] 100% LOCAL
checking package integrity... done.
removing wesnoth-cvs... done.
feh: invalid option -- 3
feh WARNING: 3 does not exist - skipping
loading package data... done.
checking for file conflicts... feh WARNING: /var/abs/dibble/wesnoth-svn/pkg/.FILELIST - No Imlib2 loader for that file format
feh WARNING: /var/abs/dibble/wesnoth-svn/pkg/.PKGINFO - No Imlib2 loader for that file format
done.
installing wesnoth-svn... done.
Why is pacman running feh?!lanrat wrote:Do your wesnoth-cvs and wesnoth-svn packages have anything in the install scripts ?
No install scripts
lanrat wrote:What's inside your feh package ? Maybe something conflicts with it? Is something symlinked to it ?
feh /usr/
feh /usr/bin/
feh /usr/bin/cam
feh /usr/bin/feh
feh /usr/bin/gen_cam_menu.sh
feh /usr/man/
feh /usr/man/man1/
feh /usr/man/man1/feh.1.gz
feh /usr/share/
feh /usr/share/feh/
feh /usr/share/feh/fonts/
feh /usr/share/feh/fonts/black.style
feh /usr/share/feh/fonts/menu.style
feh /usr/share/feh/fonts/yudit.ttf
feh /usr/share/feh/images/
feh /usr/share/feh/images/about.png
feh /usr/share/feh/images/menubg_aluminium.png
feh /usr/share/feh/images/menubg_aqua.png
feh /usr/share/feh/images/menubg_black.png
feh /usr/share/feh/images/menubg_britney.png
feh /usr/share/feh/images/menubg_brushed.png
feh /usr/share/feh/images/menubg_chrome.png
feh /usr/share/feh/images/menubg_default.png
feh /usr/share/feh/images/menubg_pastel.png
feh /usr/share/feh/images/menubg_sky.png
feh /usr/share/feh/images/menubg_wood.png
No libs - never links to anything AFAIK
Is wesnoth-svn package installed properly after the error ?
Yes
What if you remove feh package and reinstall wesnoth-cvs/svn ?
Dunno - might try later -
After pacman update I am unable to sync to repos [SOLVED]
With the current pacman I cant sync or install gpg master keys.
I recieve this error code: " :: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirrors.kernel.org : Connection time-out
error: failed retrieving file 'core.db' from archlinux.c3sl.ufpr.br : Connection time-out"
And for the keyservers: "gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
==> Updating trust database...
gpg: no need for a trustdb check"
I can however install local packages with pacman.
Help.
Last edited by jo-shva (2012-01-29 14:21:56)I did install the new config
As well as this, have you run
pacman-key --init
as specified by the pacman output when it was updated? More information on that here: https://wiki.archlinux.org/index.php/Pacman-key
Can you try different mirrors and a different keyserver to see if that solves your problem? If not, when it happens again, can you test that your internet connection is ok, and verify that it's only pacman that is having connection issues?
Regarding your udevd errors, take a look at this forum thread and see if it's relevant to you. -
[SOLVED] pacman: grep database for specific packages?
$ pacman -Ss zsh
extra/grml-zsh-config 0.9.1-1
grml's zsh setup
extra/zsh 5.0.2-4 [installed]
A very advanced and programmable command interpreter (shell) for UNIX
community/zsh-lovers 0.8.3-2
A collection of tips, tricks and examples for the Z shell.
community/zshdb 0.08-2
A debugger for zsh scripts.
$ pacman -Ss zsh | cut -s -d/ -f2 | grep '^zsh ' | cut -d' ' -f1
zsh
I'm trying to grep pacman output for a specific packages (not just zsh) and receive only the package name as it was passed to pacman as a output (if it exists in the repos that is, otherwise blank / exit 1). The above command works fine in the terminal but when I'm trying to use it from a bash script it only returns blanks. How come?
Simplified version of the script:
tank (zsh ksh)
for x in ${tank[*]}; do
echo $x
present=$(pacman -Qs ${x} | cut -s -d/ -f2 | grep '^${x} ' | cut -d' ' -f1)
echo $present
done
I expect it to return output of a pacman command in the second echo (or blank if there's no packgae like that).
edit: change of title.
2nd edit: added simplified script.
Last edited by thoajdzm (2013-11-16 14:34:59)Raynman wrote:
And consider using
$ pacman -Ssq '^zsh$'
instead of that pipeline.
Brilliant! Much leaner. However it still doesn't work from a script:
tank=(zsh)
for x in ${tank[*]}; do
echo $x
present=$(pacman -Ssq '^${x}$')
echo $present
done
Second echo returns blank... Am I quoting something wrong? -
.bashrc not working for pacman
Hi I was trying to get coloured output for pacman as per the wiki (Wiki Pacman Colour)I chose just to add the alias to my .bashrc method. I know that other functions of my .bashrc are working. This is my .bashrc
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
# coloured pacman output
alias pacs="pacsearch"
pacsearch () {
echo -e "$(pacman -Ss $@ | sed \
-e 's#current/.*#\\033[1;31m&\\033[0;37m#g' \
-e 's#extra/.*#\\033[0;32m&\\033[0;37m#g' \
-e 's#community/.*#\\033[1;35m&\\033[0;37m#g' \
-e 's#^.*/.* [0-9].*#\\033[0;36m&\\033[0;37m#g' )"
# safety copy, delete & colour
alias rm='rm -i'
alias cp='cp -iv'
alias mv='mv -i'
alias ..="cd .."
alias cl="clear"
alias ll="ls -lhav"
alias ls="ls -v --color=auto"
alias df="df -h"
alias du="du -hc"
alias mv="mv -iv"
alias cp="cp -v"
Any ideas on why it wont work have used gnome-terminal and xterm to test coloured output with no success.
This is the ll command alias working so I know my .bashrc is working or at least being recognised. I like the default behaviour of Pacman and wanted the colour output purely for readability.
[root@myhost flebber]# ll
total 192K
-rw-r--r-- 1 flebber users 400 2007-06-22 16:04 #.bashrc#
drwx------ 31 flebber users 4.0K 2007-06-23 15:07 .
drwxrwxr-x 5 flebber root 4.0K 2007-06-21 02:35 ..
-rw------- 1 flebber users 477 2007-06-23 15:07 .ICEauthority
drwx------ 2 flebber users 4.0K 2007-06-21 03:13 .Trash
-rw------- 1 flebber users 0 2007-06-21 03:15 .Xauthority
drwxr-xr-x 2 flebber users 4.0K 2007-06-22 05:31 .audacious
-rw-rw-r-- 1 flebber users 763 2007-06-23 15:05 .bash_history
-rw-rw-r-- 1 flebber users 510 2007-06-23 14:47 .bash_profile
-rw-rw-r-- 1 flebber users 607 2007-06-23 15:05 .bashrc
drwxr-xr-x 3 flebber users 4.0K 2007-06-21 13:59 .cache
drwxrwxr-x 6 flebber root 4.0K 2007-06-22 05:27 .config
drwxrwxr-x 3 flebber users 4.0K 2007-06-21 00:37 .dbus
-rw------- 1 flebber users 45 2007-06-22 16:17 .dmrc
drwxr-xr-x 3 flebber users 4.0K 2007-06-22 15:30 .emacs.d
-rw------- 1 flebber users 16 2007-06-21 04:00 .esd_auth
drwxr-xr-x 3 flebber users 4.0K 2007-06-21 03:47 .evolution
drwxr-xr-x 5 flebber users 4.0K 2007-06-21 08:32 .exaile
drwx------ 4 flebber users 4.0K 2007-06-22 15:33 .flock
drwxr-xr-x 5 flebber users 4.0K 2007-06-22 16:23 .fluxbox
drwxrwxr-x 2 flebber users 4.0K 2007-06-21 07:58 .fontconfig
drwxrwxr-x 5 flebber users 4.0K 2007-06-23 15:07 .gconf
drwxrwxr-x 2 flebber users 4.0K 2007-06-23 15:07 .gconfd
-rw-rw-r-- 1 flebber users 0 2007-06-22 05:19 .gksu.lock
drwxrwxr-x 3 flebber users 4.0K 2007-06-21 00:37 .gnome
drwxrwxr-x 9 flebber users 4.0K 2007-06-23 15:06 .gnome2
drwx------ 2 flebber users 4.0K 2007-06-21 00:37 .gnome2_private
drwxrwxr-x 2 flebber users 4.0K 2007-06-21 08:39 .gstreamer-0.10
-rw-rw-r-- 1 flebber users 89 2007-06-21 00:37 .gtkrc-1.2-gnome2
drwxrwxr-x 2 flebber users 4.0K 2007-06-21 00:40 .icons
drwxr-xr-x 4 flebber users 4.0K 2007-06-21 09:02 .listen
drwxrwxr-x 3 flebber users 4.0K 2007-06-21 01:32 .local
drwxr-xr-x 2 flebber users 4.0K 2007-06-21 08:39 .lyrics
drwx------ 3 flebber users 4.0K 2007-06-22 15:33 .macromedia
drwxrwxr-x 3 flebber users 4.0K 2007-06-21 00:37 .metacity
drwxrwxr-x 2 flebber users 4.0K 2007-06-22 15:33 .mozilla
drwxrwxr-x 3 flebber users 4.0K 2007-06-23 15:06 .nautilus
-rw-r--r-- 1 flebber users 3.2K 2007-06-22 05:29 .recently-used.xbel
drwxrwxr-x 2 flebber users 4.0K 2007-06-21 00:40 .themes
drwx------ 3 flebber users 4.0K 2007-06-21 02:26 .thumbnails
-rw-rw-r-- 1 flebber 501 262 2007-06-21 00:34 .xinitrc
-rw-rw-r-- 1 flebber root 9 2007-06-19 23:33 .xintrc
drwxr-xr-x 2 flebber users 4.0K 2007-06-22 05:26 .xmms
-rwxrwxr-x 1 flebber users 100 2007-06-19 21:05 .xsession
-rw-r--r-- 1 flebber users 644 2007-06-23 15:07 .xsession-errors
drwxrwxr-x 2 flebber users 4.0K 2007-06-22 05:17 Desktop
-rw-r--r-- 1 flebber users 3.5K 2007-06-22 05:30 eq.preset
-rw-rw-r-- 1 flebber root 47 2007-06-20 08:54 hopeless
-rw-r--r-- 1 flebber users 3.5K 2007-06-22 05:17 presets.gz
-rw-r--r-- 1 flebber users 872 2007-06-22 05:18 winamp_presets.gz
[root@myhost flebber]#
PS this output featured colour.
Last edited by flebber (2007-06-23 05:24:51)yeah logged out and in
Updated
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# coloured pacman output
alias pacs="pacsearch"
pacsearch () {
echo -e "$(pacman -Ss $@ | sed \
-e 's#current/.*#\\033[1;31m&\\033[0;37m#g' \
-e 's#extra/.*#\\033[0;32m&\\033[0;37m#g' \
-e 's#community/.*#\\033[1;35m&\\033[0;37m#g' \
-e 's#^.*/.* [0-9].*#\\033[0;36m&\\033[0;37m#g' )"
# safety copy, delete & colour
alias rm='rm -i'
alias cp='cp -iv'
alias mv='mv -i'
alias ..="cd .."
alias cl="clear"
alias ll="ls -lhav"
alias ls="ls -v --color=auto"
alias df="df -h"
alias du="du -hc"
alias mv="mv -iv"
alias cp="cp -v"
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
PATH=$PATH:/home/flebber/*
Last edited by flebber (2007-06-23 06:53:43) -
An Even or Odd Problem...
Hey all,
I'm trying to write a program that has a variable with a randomly generated number between 1 and 100, and if the number is even I would output EVEN to the screen, if it was Odd I would output ODD, like so:
81 Odd
39 Odd
60 Even
88 Even
27 Odd
then it would count them up in the end and out put that:
Number of evens: 11
Number of odds: 9
I've been working on it for 4 days now and am having a heck of a time with it. Here's the code I've come up with so far:
public class EvenOdd {
public static void main(String[] args) {
final double LIMIT = 100;
double num = ((Math.random() * 100) + 1) * 5;
if (num % 2 == 0)
System.out.println(Math.round((2*(num-0.5))) + " Odd.");
else
System.out.println(Math.round((2*(num-0.5))) + " Even.");
But it only outputs one number to the screen and it's FAR too large. I also don't know how I would add the numbers up to come up with an totaling output at the end. Does anyone have any idea as to how to help with this? All help is appreciated...public class EvenOdd {
public static void main(String[] args) {
final double LIMIT = 100;
int evenNum = 0;
int oddNum = 0;
for (int i =0; i<LIMIT; i++) {
double num = (Math.random() * 100);
int roundedNum = (int) Math.round( num);
if (roundedNum % 2 == 0) {
System.out.println(roundedNum + " Even");
evenNum++;
else {
System.out.println(roundedNum + " Odd");
oddNum++;
System.out.println("Number of evens: "+ evenNum);
System.out.println("Number of odds: "+ oddNum);
}AA -
Pacman + -Syu = system freeze
I cannot post console output because system freeze so i cannot cut& paste. My pacman output is localized so my translation may not be 100% accurate
After i pacman -Syu
i get a list of packages hit y
they get downloaded
then pacman is checking dependencies...done
then
i get checking package integrity and
then i get something like(note translation may be not exact)
memory security violated
then my system freeze...
I tried to upp one package by pacman -S and it was done okay
Really do not know what is going on
edit: my box is preety up-to-date i did full upgrade 2-3 days ago. I'm running stock kernel form current ,i'm not using testing at all.
Last edited by sula (2007-08-18 22:26:59)Well, run a memtest (there is on on the arch cd, boot it and run (memtest86)
-
Script for generating pacman html info
Hi folks!
I created a small python script for parsing pacman outputs and generate a html document
Is under development and not very useful at the moment but I want to share my progress
Output example: http://tulur.com/pkginfo/example.html
(is in spanish because my locale conf, the output is in your language)
http://tulur.com/archlinux-pkginfo
I'm not a programmer, probably can be improved
Last edited by bungow (2010-03-08 23:05:01)great work, dude.
Thanks for sharing. -
[solved] pacman error, file unavailable
I'm trying to install a package called "mkvtoolnix":
pacman -S mkvtoolnix
as root, but pacman outputs the following error:
resolving dependencies...
looking for inter-conflicts...
Targets (6): icu-4.8.1-1 boost-libs-1.47.0-2 libebml-1.2.2-1
libmatroska-1.3.0-1 lzo2-2.06-1 mkvtoolnix-5.0.0-1
Total Download Size: 1.88 MB
Total Installed Size: 46.67 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'mkvtoolnix-5.0.0-1-x86_64.pkg.tar.xz' from mirror.archlinux.ro : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'mkvtoolnix-5.0.0-1-x86_64.pkg.tar.xz' from ftp.roedu.net : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'mkvtoolnix-5.0.0-1-x86_64.pkg.tar.xz' from mirrors.adnettelecom.ro : File unavailable (e.g., file not found, no access)
warning: failed to retrieve some files from extra
error: failed to commit transaction (File unavailable (e.g., file not found, no access))
Errors occurred, no packages were upgraded.
If I search the package database for "mkvtoolnix":
pacman -Ss mkvtoolnix
I see that this package should be in extra repository:
extra/mkvtoolnix 5.0.0-1
Set of tools to create, edit and inspect Matroska files - CLI version
At this point, I don't know what else to try, other than using mkvtoolnix on a virtual machine with windows xp or debian...
Last edited by Chrys349 (2011-10-13 23:42:19)Run 'pacman -Syu' and try again. Theres a new version available: 5.0.1-1- updated four days ago http://www.archlinux.org/packages/?q=mkvtoolnix
Always make sure your system is up to date before installing new packages.
Last edited by karol (2011-10-13 21:48:05) -
[SOLVED]pacman can't download packages
doing as usual:
#pacman -Syu
and
#pacman -S openbox
but then see:
resolving dependencies...
looking for inter-conflicts...
Targets (1): openbox-3.4.11.2-1 [0.27 MB]
Total Download Size: 0.27 MB
Total Installed Size: 1.89 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'openbox-3.4.11.2-1-i686.pkg.tar.xz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
warning: failed to retrieve some files from extra
error: failed to commit transaction (File unavailable (e.g., file not found, no access))
Errors occurred, no packages were upgraded.
tried with mirrors.kernel.org, mirror.yandex.ru(one of closest to me) and even ftp.archlinux.org.
all with same result.
--debug pacman output:
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: showsize
debug: config: totaldownload
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://ftp.archlinux.org/core/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://ftp.archlinux.org/extra/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://ftp.archlinux.org/community/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'testing'
debug: registering sync database 'testing'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'testing': ftp://ftp.archlinux.org/testing/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community-testing'
debug: registering sync database 'community-testing'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community-testing': ftp://ftp.archlinux.org/community-testing/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/i686
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
debug: loading package cache for repository 'local'
debug: loading package cache for repository 'core'
debug: loading package cache for repository 'extra'
debug: adding package openbox-3.4.11.2-1 to the transaction targets
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package openbox-3.4.11.2-1
debug: finished resolving dependencies
debug: started sorting dependencies
debug: sorting dependencies finished
looking for inter-conflicts...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package openbox-3.4.11.2-1
debug: setting download size 281868 for pkg openbox
Targets (1): openbox-3.4.11.2-1 [0.27 MB]
Total Download Size: 0.27 MB
Total Installed Size: 1.89 MB
debug: using cachedir: /var/cache/pacman/pkg/
:: Retrieving packages from extra...
debug: using 'openbox-3.4.11.2-1-i686.pkg.tar.xz' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY: (null)
debug: ftp_proxy: (null)
error: failed retrieving file 'openbox-3.4.11.2-1-i686.pkg.tar.xz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
warning: failed to retrieve some files from extra
Errors occurred, no packages were upgraded.
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'community'
debug: unregistering database 'testing'
debug: unregistering database 'community-testing'
debug: unregistering database 'archlinuxfr'
Last edited by jauthu (2010-06-04 00:22:34)but it is really strange that when i uncommented "http://ftp.archlinux.org..." in mirrorlist it is the same error
so what destination for all that mirrors are?
and when I download package from web-interface http://www.archlinux.org/packages/extra/x86_64/openbox/ it successfuly downloaded from mirrors.kernel.org but pacman can't...
I'm completely dumb, or the universe had hell changed
As you see, my english is stupid.
Last edited by jauthu (2010-06-03 22:34:49) -
[Solved] pacman won't update kernel
Hi, I create a base image that I clone to build from, it has nothing added but 'base-devel', earlier I installed an XFCE install, I went to create another from the same base image, when I install nvidia it told me in both cases that it needed a newer kernel 3.1.4, so I ran
pacman -Syu
. This morning this solves the problem, right now it states that it has nothing to update (it's made from the same image) and nvidia won't install stating it needs that upgrade. I shuffled mirrors around to see if it helped but it didn't. Anyone have an idea of why this is occurring?
thanks in advance for your help.
--jerry
Last edited by jk121960 (2011-12-10 23:12:11)No, it doesn't do the upgrade, it insists there is nothing to upgrade, while the nvidia install says that there is.
pacman -S nvidia nvidia-utils extra/opencl-nvidia
warning: nvidia-utils-290.10-1 is up to date -- reinstalling
warning: opencl-nvidia-290.10-1 is up to date -- reinstalling
resolving dependencies...
warning: cannot resolve "linux>=3.1", a dependency of "nvidia"
:: The following package cannot be upgraded due to unresolvable dependencies:
nvidia
Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia: requires linux>=3.1
thanks
--jerry
pacman -Syu
:: Synchronizing package databases...
--2011-12-10 12:27:58-- ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
=> `core.db'
Resolving ftp.jaist.ac.jp... 150.65.7.130, 2001:200:141:feed::feed
Connecting to ftp.jaist.ac.jp|150.65.7.130|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/Linux/ArchLinux/core/os/x86_64 ... done.
==> SIZE core.db ... 104184
File has already been retrieved.
2011-12-10 12:28:00 (0.00 B/s) - `core.db' saved [104184]
--2011-12-10 12:28:00-- ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
=> `extra.db'
Resolving ftp.jaist.ac.jp... 150.65.7.130, 2001:200:141:feed::feed
Connecting to ftp.jaist.ac.jp|150.65.7.130|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/Linux/ArchLinux/extra/os/x86_64 ... done.
==> SIZE extra.db ... 1178838
File has already been retrieved.
2011-12-10 12:28:03 (0.00 B/s) - `extra.db' saved [1178838]
--2011-12-10 12:28:03-- ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
=> `community.db'
Resolving ftp.jaist.ac.jp... 150.65.7.130, 2001:200:141:feed::feed
Connecting to ftp.jaist.ac.jp|150.65.7.130|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/Linux/ArchLinux/community/os/x86_64 ... done.
==> SIZE community.db ... 972101
==> PASV ... done. ==> REST 972243 ... done.
==> RETR community.db ... done.
Length: 972101 (949K), -142 remaining (unauthoritative)
100%[+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++] 972,243 --.-K/s in 0s
2011-12-10 12:28:06 (0.00 B/s) - `community.db' saved [972243]
:: Starting full system upgrade...
there is nothing to do
here is the pacman output.
Last edited by jk121960 (2011-12-10 19:19:46) -
Pacnanny: enforce good pacman discipline on yourself
This is yet another wrapper script for pacman. Unlike other wrappers, this script does not aim to make up for any perceived shortcomings in the functionality of pacman. Instead, it aims to make up for shortcomings in the users of pacman. The goal of pacnanny is to make it even harder to mess up a system update with pacman by making sure that you do not miss anything important.
At present, pacnanny does the following:
Before doing a system update, check for new Arch Linux news items since the last update and display them one at a time in the browser of your choosing (w3m by default). There is no confirmation to skip this. Your eyeballs are required to look at the news.
Reprint all scriptlet messages
Reprint all warnings again together after the update is completed.
List new .pacnew and .pacsave files.
Print a warning and ask for confirmation when using the --force option.
Prompt for a reboot when the kernel has been upgraded.
Each one of these features can be enabled or disabled in /etc/pacnanny.conf, so the level of nanny strictness is customizable.
Pacnanny also does some other handy things on its own:
Show the history of a package (dates of installation, upgrades, etc.)
Show the Pacman logs for a given date or range of dates
'pacnanny' is a thin wrapper that mostly looks at the arguments you pass before passing them on and at the output that pacman produces. You can simply use the 'pacnanny' command in place of 'pacman' and use all the familiar arguments. So, to do a system update, you would do 'pacnanny -Syu'.
Here is some sample output (slightly edited to remove the flood of dconf deprecation warnings that occured during that update). The most important information is found at the bottom, where it is most likely to be noticed by the user after the process finishes.
$ pacnanny -Syu
:: Checking for Arch Linux news...
Opening news item from 10 Apr 2013 14:09:06
netctl is now in [core]
2013-04-10 - Florian Pritz
Meet netctl: a profile based networking CLI using systemd. In the near future,
the old netcfg will be removed from [core]. Anyone using it is urged to move to
netctl. Migration is a manual process during which you might not have access to
the Internet, so take care and read the man pages (netctl(1), netctl.profile(5)
and netctl.special(7)).
The design of netctl is so that systemd enthusiasts will appreciate its usage
and netcfg users will be familiar with its profile files. Shipped with netctl
comes a ncurses-based wifi connection assistant called wifi-menu.
As you install netctl, netcfg will be removed, but the enabled systemd services
will remain until manually disabled. The netctl wiki holds some additional
information on migrating from netcfg.
[normal pacman output would be here]
Messages:
g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file: No such file or directory
>>> 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.8.11-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: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> 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.8.11-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
>>> updating the filename database for texlive...
>>> The kernel-mode plugin has a new place.
>>> It's now located under /usr/lib/rp-pppoe/rp-pppoe.so
>>> Change LINUX_PLUGIN to the new path in your /etc/ppp/pppoe.conf
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
recreating all formats... done.
(logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)
>>> texlive: saving updmap.cfg as /tmp/tmp.EAbwR2eDCb...
>>> texlive: regenerating updmap.cfg (custom additions should go
into /etc/texmf/web2c/updmap-local.cfg
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the fontmap files with updmap...
done.
>>> texlive: recreating all formats...
done.
(logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)
NB: To setup ConTeXt and the lua(la)tex font db,
see http://wiki.archlinux.org/index.php/TeX_Live
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: saving updmap.cfg as /tmp/tmp.xA8IuEl0a2...
>>> texlive: regenerating updmap.cfg (custom additions should go
into /etc/texmf/web2c/updmap-local.cfg
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the fontmap files with updmap...
done.
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: saving updmap.cfg as /tmp/tmp.OECw4EqdnM...
>>> texlive: regenerating updmap.cfg (custom additions should go
into /etc/texmf/web2c/updmap-local.cfg
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the fontmap files with updmap...
done.
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: saving updmap.cfg as /tmp/tmp.a1xv5JIKiB...
>>> texlive: regenerating updmap.cfg (custom additions should go
into /etc/texmf/web2c/updmap-local.cfg
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the fontmap files with updmap...
done.
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: saving updmap.cfg as /tmp/tmp.hXq3ABO1Pr...
>>> texlive: regenerating updmap.cfg (custom additions should go
into /etc/texmf/web2c/updmap-local.cfg
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the fontmap files with updmap...
done.
>>> texlive: saving updmap.cfg as /tmp/tmp.FJRH31f2Gl...
>>> texlive: regenerating updmap.cfg (custom additions should go
into /etc/texmf/web2c/updmap-local.cfg
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the fontmap files with updmap...
done.
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: saving updmap.cfg as /tmp/tmp.IW9RGL8z2a...
>>> texlive: regenerating updmap.cfg (custom additions should go
into /etc/texmf/web2c/updmap-local.cfg
>>> texlive: updating the filename database...
mktexlsr: Updating /etc/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf/ls-R...
mktexlsr: Updating /usr/share/texmf-dist/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
>>> texlive: updating the fontmap files with updmap...
done.
==> Rebuilding font cache... done
Please add the following line to your .emacs.
(require 'jabber)
Check for dead symlinks and leftover files
in /etc/fonts/conf.d/
If you have been using freetype2-infinality from the AUR,
the runtime file that came with it has been saved as
/etc/profile.d/infinality-settings.sh.pacsave and the new
one was installed in its place. You can manually delete
infinality-settings.sh.pacsave as it is not needed anymore.
If you are using [multilib], please install/upgrade
lib32-freetype2-infinality-ultimate, too.
Fontconfig-ultimate configuration is done via
/etc/fonts/conf.avail, /etc/fonts/conf.avail.infinality and
conf.d. Read /etc/fonts/conf.d/README for more information.
Configuration via /etc/fonts/local.conf is still possible,
but is no longer recommended for options available in conf.avail.
Main systemwide configuration should be done by symlinks, e.g.
# cd /etc/fonts/conf.d
# ln -s ../conf.avail/XX-foo.conf
In most cases default settings should suffice.
Custom user based configuration should be done in the same way,
using XDG directory structure, e.g.
$ cd /root/.config/fontconfig/conf.d
$ ln -s ../conf.avail/XX-foo.conf
A few examples can be found in
/usr/share/doc/fontconfig/infinality-ultimate/fontconfig.
For further information about fontconfig-infiinality-ultimate, see
/usr/share/doc/fontconfig-infinality-ultimate/README.html
Check also https://wiki.archlinux.org/index.php/Fonts.
updating font cache... done.
Updating font cache... done.
==> Rebuilding font cache... done
Updating font cache... done
Updating font cache... done.
Updating font cache... done.
Note: terminus-font is in /usr/share/fonts/local/
Warnings:
warning: /usr/lib/avahi/service-types.db installed as /usr/lib/avahi/service-types.db.pacnew
warning: Schema 'org.gnome.system.proxy' has path '/system/proxy/'. Paths starting with '
/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.http' has path '/system/proxy/http/'. Paths start
ing with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: /etc/makepkg.conf installed as /etc/makepkg.conf.pacnew
warning: /etc/profile.d/infinality-settings.sh saved as /etc/profile.d/infinality-settings.sh.pacsave
New pacsave files:
/etc/profile.d/infinality-settings.sh.pacsave
New pacnew files:
/usr/lib/avahi/service-types.db.pacnew
/etc/makepkg.conf.pacnew
The kernel was updated. Reboot now? (y/N)
Are there other places that we can help the user avoid shooting himself in the foot? I'm open to ideas. Contributions are welcome as long as they stick to the basic idea of only trying to correct/prevent user-error/carelessness. Also, I'm not great at shell scripting, so please point out any mistakes or places for improvement.
https://github.com/brandoninvergo/pacnanny
https://aur.archlinux.org/packages/pacnanny/
Last edited by jakobcreutzfeldt (2013-10-21 11:04:32)OK, I've just pushed version 1.2:
add the --history option to show the installation history of a package or packages
add the --log option to show the Pacman logs from a given date or range of dates
use curl instead of wget
improve the method of specifying the browser to use (i.e. now you can do stuff like "lynx -dump %s | less"
change default news display to just dumping to standard out (via w3m)
Regarding the first one, here's some sample output:
$ pacnanny --history vim emacs
:: Package history for vim:
2012-06-19 21:21: installed (7.3.547-1)
2012-07-22 11:05: upgraded (7.3.547-1 -> 7.3.600-1)
2012-09-07 09:56: upgraded (7.3.600-1 -> 7.3.659-1)
2012-09-19 00:19: upgraded (7.3.659-1 -> 7.3.661-1)
2012-10-22 22:54: upgraded (7.3.661-1 -> 7.3.709-1)
2012-10-24 20:36: upgraded (7.3.709-1 -> 7.3.712-1)
2012-12-06 19:36: removed (7.3.712-1)
:: Package history for emacs:
2012-06-19 21:22: installed (24.1-2)
2012-08-29 18:41: upgraded (24.1-2 -> 24.2-1)
2012-10-28 23:30: upgraded (24.2-1 -> 24.2-2)
2012-11-18 23:03: upgraded (24.2-2 -> 24.2-3)
2013-01-23 21:32: upgraded (24.2-3 -> 24.2-4)
2013-03-23 13:00: upgraded (24.2-4 -> 24.3-1)
2013-03-25 22:00: upgraded (24.3-1 -> 24.3-1)
2013-03-25 22:14: upgraded (24.3-1 -> 24.3-1)
2013-03-25 22:53: upgraded (24.3-1 -> 24.3-1)
2013-03-25 22:53: upgraded (24.3-1 -> 24.3-1)
2013-05-14 21:32: upgraded (24.3-1 -> 24.3-2)
As for the new "--log" option, you can pass any kind of date that is recognizable by the 'date' command. This means you can do things like:
$ pacnanny --log 2013-06-04
$ pacnanny --log yesterday
$ pacnanny --log 2013-06-01:2013-06-04
$ pacnanny --log "last month:yesterday"
Enjoy!
Maybe you are looking for
-
Help Required @ some real time application developement help!!
I have just started off with Jdeveloper and I need some very much real time examples so that I can give a head start and do applications as soon as possible can anyone show me the links to files and I will make the application learning where and when
-
Trouble adding new Essbase dimension to physical layer
I'm using OBIEE 10.1.3.4.2 and have created a repository where I imported an Essbase cube. That's all been fine. I recently added another layer to one of the dimensions in my cube - had Division and Market and then added System below Market. I opened
-
I am putting together a slideshow with video clips in Photoshop CS6. When I play back my work, instead of showing it to me at 30fps (which I have it set to) it's playing it at 7.65 fps. Very fast. How do I change that?
-
Move WIKI data from one Mountain Lion Server to another
Hi. I followed the instruction here: http://support.apple.com/kb/HT5585 Under Copying all wikis from one OS X server to another OS X server, I am not even able to execute: sudo pg_dump --format=c --compress=9 --blobs --username=collab --file=/tmp/col
-
can anyone please tell if we can write a dynamic action to default the employee group for a action like termination, leaving etc.. Thanks Lakshmi