SOLVED: bash upgrade, prompt issues

Just did a pacman -Syu and it fetched bash-4.0.033-1. However now whenever a open a bash shell as a user (not root), my prompt has this at the start:
0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~} (~)
... followed by the usual [user@host ~]$
Now I assume this is caused by this line in profile.bash:
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
export PROMPT_COMMAND
Unfortunately there is no backup of said file, so I have no idea what this line used to look like. I'm going to hazard a guess that "\033]0;" should be a "[", and "\007" should be "]".
Edit: Forgot to mention that I'm using rxvt-unicode for the terminal.
Edit2: It seems the relevant file was /etc/bash.bashrc, and the solution was to simply remove rxvt-unicode from the if statement.
Last edited by ptepid (2009-09-26 11:12:25)

Okay, there's something else going on here. I just happened to be messing with ANSI escape codes for something else and the same issue arose.
For instance
[ptepid@securis ~]$ echo -e "Test1 \033[1;34m Test2 \033[0m"
1;34m Test2 (~)Test1 Test2
[ptepid@securis ~]$
That echo statement should print "Test1 Test2" with test2 in blue (not shown here). It does that, but it's also spitting out the escape codes as garbage beforehand.
Turns out only one user is affected. I'm trying to hunt down what is causing it, but I can't find any ENV variables that are different. It's only happening in X, but it's a problem with both rxvt and rxvt-unicode.
SOLVED: Okay, now I feel pretty dumb. It was some bogus code in my .bashrc that was meant to update the titlebar of an xterm. That worked, but it also seems to mess with ANSI escape characters. This was the offending code:
if [[ -n "$DISPLAY" ]]; then
if [[ -n $MRXVT_TABTITLE ]]; then
trap 'echo -ne "\e]61;${BASH_COMMAND//\"/} (${PWD/$HOME/~})\a"' DEBUG
else
trap 'echo -ne "\e]0;${BASH_COMMAND//\"/} (${PWD/$HOME/~})\a"' DEBUG
fi
fi
A relic from when I'd used mrxvt.
Last edited by ptepid (2009-09-26 11:11:55)

Similar Messages

  • [SOLVED] Bash coloured prompt issues

    Hi, I'm having trouble with my bash prompt and after going through a sea of posts on prompts I can't seem to figure out why mine isn't giving the desired behaviour.
    YELLOW='\[\e[0;33m'
    WHITEBOLD='\[\e[1;37m'
    WHITE='\[\e[0;37m'
    ORANGE='\[\e[1;31m'
    PS1="${WHITE}[${ORANGE}\u\] ${YELLOW}\@\] ${WHITEBOLD}\$(parse_git_branch)\] ${ORANGE}>\] ${YELLOW}\w\]${WHITE}]\] \$"
    The desired output:
    [will 06:48 PM (master) > ~/.vim] $
    When I scroll through the history the prompt messes up and starts looking like this:
    [will vim ~/.bashrc
    Last edited by will.price94 (2012-02-27 21:02:26)

    The prompt counts your color sequences as characters which messes up the cursor position. Escape the ${WHITE} and ${YELLOW} etc. by putting them between \[  \] like this: \[${WHITE}\] . In your case, include the closing \] when you define the color variables, so
    YELLOW='\[\e[0;33m\]' so you don't have to worry about them in the PS1= sequence.
    Edit: try like this (maybe remove some spaces, haven't tried the prompt myself)
    YELLOW='\[\e[0;33m\]'
    WHITEBOLD='\[\e[1;37m\]'
    WHITE='\[\e[0;37m\]'
    ORANGE='\[\e[1;31m\]'
    PS1="${WHITE}[${ORANGE}\u ${YELLOW}\@ ${WHITEBOLD}\$(parse_git_branch) ${ORANGE}> ${YELLOW}\w${WHITE}] \$"
    Last edited by VCoolio (2012-02-27 20:26:34)

  • Bash-completion issues after bash upgrade

    Hi.
    Is it only me or bash-completion stopped working after bash upgrade (3.2.017-2 -> 3.2.025-1)?
    I also had to remove ". /etc/profile" from all existing .bashrc files to have it properly interpreting /etc/profile and /etc/profile.d/* files,
    which was fine with previous bash version. Probably that line was not needed anyway, but for sure the behavior of bash has changed.
    And bash-completion doesn't work anymore at all.
    bash-completion looks like it has been updated too, but it still doesn't work properly.
    I have: core/bash-3.2.025-1 and extra/bash-completion-20060301-7.
    "Not working properly" means that when I press the tab it does just a normal completion. Without respecting the type of a command for which I am completing the argument.
    It used to complete only media files for 'mplayer', only directory names for 'cd' etc. And now it tries to complete every file present in the directory.
    Hmm... I guess that '. /etc/profile' line was needed after all. When I re-added it it started working again. Though /etc/skel/.bashrc file does not have this line.
    When I use the skeleton version of .bashrc, bash-completion doesn't work.
    Last edited by tanis (2007-09-20 16:34:47)

    http://bugs.archlinux.org/task/8060

  • Can you help me solve my aspect ratio issue?

    Hey guys,
    I'm posting this in hopes that someone can help me solve an aspect ratio issue with a project that I have to finish by tomorrow.
    I'm trying to avoid having to re-edit the entire thing.
    I shot the project with my Nikon D7000 DSLR. in 720p 30p (29.97)
    I am running Adobe Premiere Pro CS5 (the trial version).  I have the full version of Adobe Premiere Pro CS3.
    The reason I was working with the trial is that CS3 can't handle the H.264 MOVs that the D7000 records.
    You can work with a timeline, but if you try to export anything, it never works.  I always have to convert my footage to ProRes MOVs with MPEG Streamclip before I can work with them is CS3.  That takes a lot of time and a lot of hard drive space.  After much research, I found out that CS5 is the way to go for DSLR footage.  I just need to save up my pennies for the upgrade.
    So I thought I'd edit this short (1 minute) project with the trial to see how CS5 works with the D7000 footage.
    Upon installing the trial program, I found that the project presets were limited.  I knew this ahead of time because it's clearly stated on the Adobe's website.
    But I wasn't aware how limited they are.
    Since "DSLR 1280x720p 30p" is not an option with the trial, I was going to use HDV 720p 30p.  But that was not an option either!
    So basically, my only option for 16x9 30p was "DV NTSC Widescreen".  It's my understanding that this is 864x480 (in square pixel aspect ratio) or 720x480  (in widescreen pixel aspect ratio)   I needed the output file to be 864x486.  I downsized the footage to 69% in the "Video Effects: Motion" setting so it looked correct in the project.  I didn't think about those extra 6 pixels until I outputed the file and saw thin black lines on the top and bottom.  My guess is that Premiere is adding black pixels because my project is technically 720x480 (1.2121)
    Any thoughts on how I can get a clean 864x486 export?  I'd rather not re-edit the whole thing...which I would have to do in CS3 after I spent a few hours converting the original files in MPEG Streamclip.  I don't know if there is a way to export something out of CS5 and then open a new project in CS3 to make this work.
    Thanks in adavance!
    - Jordan

    On export, just crop a few pixels off of each side; that'll let the image scale correctly to the output frame size without black bars.
    I'm not running the trial, but you should still be able to create a custom sequence preset using the Desktop editing mode. Just switch over to the General tab when you create a new sequence, and choose "Desktop" from the editing modes. Set the rest of the parameters as you need them.
    Even easier: once you've imported your footage, just drag a clip to the New Item icon at the bottom of the project panel; a sequence will be created matching your footage parameters. You can edit at full-resolution, and then export to your desired frame size when complete--you'll probably still need to crop a few pixels (in the Export Settings window) to eliminate the black bars.

  • How do i solve the activate app issue in DPS App Builder?

    I have no apps showing up in the download section of DPS App Builder.
    And on the App Status section, I am being prompted to activate app?
    Can anyone help please?

    I have a creative cloud subscription. 
    Sent from Samsung MobilePrabhjyot Kaur <[email protected]> wrote:Re: How do i solve the activate app issue in DPS App Builder?
    created by Prabhjyot Kaur in Digital Publishing Suite - View the full discussion
    If you are DPS single edition user, then you need to enter serial number to activate app.
    But it would be more helpful if you let us know which DPS edition you have?
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4853715#4853715
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4853715#4853715
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4853715#4853715. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Digital Publishing Suite by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Has anyone solved the "garbled characters" issue i...

    When I use Nokia Maps on my N95, all streets and towns which contain special characters such as: é, è, ü, ä, ö, etc… do appear garbled. For example,
    Zürich appears as: Zã¼rich
    München appears as: Mã¼nchen
    Liège appears as: Liã"ge
    I saw a couple posts on this forum where people suggested to format the memory card, some other suggested to reload the firmware (my N95 has 12.0.013) but nothing has helped. I went as far as using someone's PC whose WinXP is installed in French - I thought that maybe the operating system or regional settings could have some influence, but I was wrong.
    Has anyone solved this extremely annoying issue?
    Thx

    I solved it. It took me one evening. I wonder why Nokia haven't published any comments on this old issue.
    Solution can be found below, but before I want to tell about some technical details. Maybe guys at Nokia will read them
    As someone on this forum said before the problem is that map names are in UTF-8 format, but phone tries to show them using another encoding. After some googling I found that this issue is well-known because Nokia phones use ISO 8859-1 (which is similar to Windows-1252, Western European) by default but some application assume UTF-8 to be default.
    At first, I discovered that when I start Nokia map with empty SD card and allow it to download something from internet, all names were shown correctly. I supposed that the problem sits in that awful Map Loader, but I was wrong: it does absolutely nothing special with data files, just downloading and unzipping. And this super-mega-feature-rich-map-loader require about 40Mb to download for .NET 3.0 plus 10 Mb for itself. Never seen anything worse
    So I've started to compare contents of one SD card with incorrect street and city names and another with correct.
    After some time I came across Cachedatheader.cdt file in diskcache folder. And what do you think?
    The file from correct SD card contains a literal string: "UTF-8". While incorrect one contains a string saying "ISO 8859-1". I've nearly fell out of my chair after seeing that.
    I've replaced wrong file with correct one and names became readable on all my 180mb of previously downloaded maps.
    Finally, after playing with it some more I found a simple solution which should work for everyone:
    ***** SOLUTION *****
    1. Enable internet access in Nokia Maps application (set it to When Needed).
    2. Access memory card from your PC and go to "\PRIVATE\20001f66\diskcache" folder.
    3. Delete "CachedatHeader.cdt" file. Perhaps you should backup it somewhere before deleting, but it looks like it can be removed safely without affecting existing maps.
    4. Put the card back in the phone if you extracted it and start Nokia Maps.
    5. Allow Nokia Maps to access internet and try downloading some new locations (you don't need to download much, just let it access server) or searching for something.
    6. Now codepage should be correct and all names become readable.
    This effect seems to be permanent and will stay even if you disable internet access later. Also note that you don't have to format card, remove or reinstall any map files. The problem is just in one small file.
    Nokia Maps recreates missing CachedatHeader.cdt, but it will recreate it correctly only if internet access is enabled when it starts. Probably the best way to avoid wrong codepage problem is to enable internet access at first start of Nokia Maps and use Map Loader only after downloading some bits of map directly from the phone.
    Message Edited by ankor85 on 09-Jan-2008 09:02 PM

  • When is Apple going to release an update to our software that will eliminate a thiefs ability once the phone is stolen to turn off the find my phone option without first entering the security code? I think that this would solve a ton of issues.

    When is Apple going to release an update to our software that will eliminate a thiefs ability once the phone is stolen to turn off the find my phone option without first entering the security code? I think that this would solve a ton of issues.

    It would be a voilation of privete laws of many countries
    Every attempt to fight "evil" have a backside likely the reason they have not don so yet
    In the country i live in if stolen i repport the imei number of the phone to the police and the have all carriers and carriers they work with in other countries block the phone from ever being used as a phone

  • I kept getting this upgrade prompt from the App Store to upgrade free to OS10 Yosemite. So I finally did on my 4 year old iMac and now it appears to be stuck just spinning on that stupid ball that means trouble and it is not progressing.  Anybody got

    I kept getting this upgrade prompt from the App Store to upgrade free to OS10 Yosemite. So I finally did on my 4 year old iMac and now it appears to be stuck just spinning on that stupid ball that means trouble and it is not progressing.  Anybody got any idea what I do now?  Thanks.

    I don't think you would get a thing from the App Store running 10.3.x on a PowerBook. It would help if you told us what you really are using and what version of OS X you were running.
    It would also help to tell us what the "stupid ball" is. In fact it would be a big help to give us a thorough and intelligible description of your situation so we don't have to guess.

  • [SOLVED]Bash prompt colors different in console as opposed in terminal

    Hi
    EDIT: I have solved the problem by copying /etc/skel/.bash_profile to my home directory.
    Today i updated the system and the bash prompt is fine in my terminal (KDE Konsole or in Xterm) but not in consoles. For normal user (blue colors) i use this settings in the $HOME/.bashrc file:
    PS1='[\e[0;36m\u\e[0m@\e[0;36m\h\e[0m]─[\e[0;33m\w\e[0m]\n└─\$ '
    For root (red color) /root/.bashrc:
    PS1='[\e[1;31m\u\e[0m@\e[1;31m\h\e[0m]─[\e[0;33m\w\e[0m]\n└─\$ '
    Now, if i login in console as a normal user it doesn't display blue color but red as if i was root user. Like i said in xterm or KDE Konsole it looks just fine. The case is that consoles don't use my .bashrc file and use instead /etc/bash.bashrc file: Here is my /etc/bash.bashrc file:
    # /etc/bash.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    #PS1='[\u@\h \W]\$ '
    PS1='[\e[1;31m\u\e[0m@\e[1;31m\h\e[0m]─[\e[0;33m\w\e[0m]\n└─\$ '
    PS2='> '
    PS3='> '
    PS4='+ '
    case ${TERM} in
    xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
    screen)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
    esac
    [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
    export EDITOR=/usr/bin/nano
    Here is my today's update:
    [2012-07-06 08:54] upgraded linux-api-headers (3.3.8-1 -> 3.4.4-1)
    [2012-07-06 08:54] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
    [2012-07-06 08:54] Generating locales...
    [2012-07-06 08:54] en_GB.UTF-8... done
    [2012-07-06 08:54] en_GB.ISO-8859-1... done
    [2012-07-06 08:54] Generation complete.
    [2012-07-06 08:54] upgraded glibc (2.15-12 -> 2.16.0-1)
    [2012-07-06 08:54] upgraded binutils (2.22-7 -> 2.22-8)
    [2012-07-06 08:54] upgraded dbus-core (1.6.0-5 -> 1.6.2-2)
    [2012-07-06 08:54] upgraded dbus (1.6.0-1 -> 1.6.2-1)
    [2012-07-06 08:54] upgraded device-mapper (2.02.96-2 -> 2.02.96-3)
    [2012-07-06 08:54] upgraded gcc-libs (4.7.1-3 -> 4.7.1-4)
    [2012-07-06 08:54] upgraded gcc (4.7.1-3 -> 4.7.1-4)
    [2012-07-06 08:54] upgraded grep (2.12-1 -> 2.13-1)
    [2012-07-06 08:54] upgraded initscripts (2012.06.3-1 -> 2012.06.3-2)
    [2012-07-06 08:54] upgraded libpurple (2.10.4-2 -> 2.10.5-1)
    [2012-07-06 08:54] upgraded libusb-compat (0.1.4-1 -> 0.1.4-2)
    [2012-07-06 08:54] upgraded lvm2 (2.02.96-2 -> 2.02.96-3)
    [2012-07-06 08:54] upgraded mpfr (3.1.0.p10-1 -> 3.1.1-1)
    Is it a problem in yesterday's pam upgrade? Yesterday i have moved /etc/pam.d/login.pacnew to /etc/pam.d/login. I didn't backup the old file. My bad. Weird thing is also this that today my KDE session crashed (for the first time) when i have used dd to burn image on my USB.
    Last edited by Shark (2012-07-06 08:40:31)

    Procyon wrote:What you want is [ -n "$SSH_CONNECTION" ] (variable is set/nonzero length) or the opposite [ -z "$SSH_CONNECTION" ] (variable is not set/zero length)
    Thanks-- that got it.  I was missing the quotes, so it was expanding at the spaces rather than interpreting the entire thing as a string.

  • [Solved] Leafnode upgrade issue

    The package leafnode recently updated and stopped working.
    The error message from fetchnews was:
    no such user: 9
    slrn also returned a similar error when connecting to localhost.  Port 119 was open, so there was no issue there.
    I could not find a fix, so downloaded leafnode from sourceforge, made it myself and it's now working.
    The following configuration of leafnode seemed to do the trick:
    $ ./configure --bindir=/usr/bin --sbindir=/usr/sbin
    $ make
    # make install
    Solved
    From Bug report https://bugs.archlinux.org/task/27242
    The error is telling you that the user with UID 9 doesn't exist. The problem is the install scriptlet only checks for (and if necessary, creates) this user on install but not upgrade.
    Install the package from community and run these commands as root:
    groupadd -g 13 -r news
    useradd -u 9 -r -m -g news news
    Last edited by prawn (2011-11-25 02:44:37)

    Ah, OK.
    I've posted a bug report here https://bugs.archlinux.org/task/27242
    Last edited by prawn (2011-11-24 10:41:34)

  • [solved] Bash cd issue

    Hope it's ok that I post this here. I can't cd into a directory with a space in the name, it ignores  quotes surrounding the name and escaped spaces. I can ls and do other things just fine. I can also cd into the directory in sh. So obviously it's the builtin cd that's the problem. I had just run pacman -Syu and bash was updated to 4.2.024-2 from 4.2.020-1. But I haven't seen anyone else with this issue.
    Should I just downgrade to 4.2?
    Edit: Nope, just downgraded to 4.2.0, still can't cd. Here is my pacman.log.
    http://pastie.org/private/ls3zfjaxcqhtvkfnzxbna
    Last edited by aata844 (2012-04-07 20:38:07)

    Please remember to mark the thread as solved.
    https://bbs.archlinux.org/viewtopic.php?id=130309

  • [SOLVED] Pacman Upgrade Issue

    Hello,
    I upgraded Pacman to the latest version and I may have messed up the .pacnew files, not sure.  Anyhow here's the issue I'm currently facing:
    [richard@rh-laptop ~]$ su root
    Password:
    [root@rh-laptop richard]# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    warning: cpufrequtils: forcing upgrade to version 004-1
    warning: iproute: forcing upgrade to version 2.6.25-1
    warning: vlc: forcing upgrade to version 0.8.6i-3
    warning: xf86-video-vesa: forcing upgrade to version 1.3.0-6
    resolving dependencies...
    warning: provider package was selected (giflib provides libungif)
    looking for inter-conflicts...
    Targets (155): a52dec-0.7.4-4  gpm-1.20.5-1  aalib-1.4rc5-5  apr-1.3.2-2 
                   gcc-libs-4.3.1-3  pcre-7.7-2  glib2-2.16.5-1  avahi-0.6.23-1 
                   bash-3.2.039-2  bzip2-1.0.5-3  cdparanoia-10.1-1 
                   zlib-1.2.3.3-2  file-4.25-1  cdrkit-1.1.8-1  cpufrequtils-004-1 
                   desktop-file-utils-0.15-1  gnome-desktop-2.22.3-1  eog-2.22.3-1 
                   esd-0.2.39-1  gnome-keyring-2.22.3-1  gnutls-2.4.1-1 
                   heimdal-1.2-1  libpng-1.2.29-1  libcups-1.3.8-2 
                   randrproto-1.2.2-1  libxrandr-1.2.3-1  freetype2-2.3.7-1 
                   fontconfig-2.6.0-2  libxft-2.1.13-1  pango-1.20.5-1 
                   gtk2-2.12.11-3  poppler-0.8.4-1  poppler-glib-0.8.4-1 
                   evince-2.22.2-3  libsoup-2.4.1-2 
                   evolution-data-server-2.22.3-2  faad2-2.6.1-1 
                   filesystem-2008.07-1  fakeroot-1.9.5-1  lame-3.98-1 
                   x264-20080625-1  ffmpeg-20080715-3  file-roller-2.22.4-1 
                   wxgtk-2.8.8-1  filezilla-3.1.1.1-1  hunspell-1.2.6-1 
                   xulrunner-1.9.0.1-2  mime-types-1.0-1  firefox-3.0.1-2 
                   flex-2.5.35-1  gail-1.22.3-1  gcalctool-5.22.3-1  gcc-4.3.1-3 
                   ghostscript-8.63-3  libgtop-2.22.3-1  libgksu-2.0.7-1 
                   gksu-2.0.0-3  glibmm-2.16.4-2  gnash-common-0.8.3-3 
                   gucharmap-2.22.3-1  xorg-xkb-utils-7.3-1 
                   xkeyboard-config-1.3-1  libxklavier-3.6-1  libgnomekbd-2.22.0-2 
                   gnome-applets-2.22.3-1  gstreamer0.10-good-plugins-0.10.8-3 
                   gnome-media-2.22.0-2  gnome-session-2.22.3-1 
                   smbclient-3.0.30-2  gnome-vfs-2.22.0-4  libwnck-2.22.3-1 
                   gnome-system-monitor-2.22.3-1  gnome-terminal-2.22.3-1 
                   gtk-engines-2.14.3-1  gtksourceview2-2.2.2-1 
                   libgphoto2-2.4.2-1  gvfs-0.2.5-2  hdparm-8.9-1 
                   icon-naming-utils-0.8.7-1  imagemagick-6.4.2.7-1 
                   initscripts-2008.08-1  iproute-2.6.25-1  jre-6u7-1 
                   kernel-headers-2.6.25.8-1  module-init-tools-3.4-1 
                   kernel26-2.6.26.2-1  klibc-1.5-6  klibc-extras-2.4-2 
                   klibc-kbd-1.15.20080312-6  klibc-module-init-tools-3.4-1 
                   klibc-udev-116-4  lib32-zlib-1.2.3.3-2  lib32-freetype2-2.3.7-1 
                   lib32-fontconfig-2.6.0-2  lib32-gcc-libs-4.3.1-3 
                   lib32-glib2-2.16.4-1  lib32-libpng-1.2.29-1 
                   lib32-libcups-1.3.8-1  lib32-libxrandr-1.2.3-1 
                   lib32-libxft-2.1.13-1  lib32-pango-1.20.5-1 
                   lib32-gtk2-2.12.11-2  lib32-libgcrypt-1.4.1-1 
                   lib32-e2fsprogs-1.40.8-1.1  lib32-libsm-1.1.0-1.1 
                   lib32-libtasn1-1.4-1  lib32-pcre-7.7-2  libgnomecups-0.2.3-3 
                   libgnomeprint-2.18.3-3  libgweather-2.22.3-1  libmpeg2-0.5.1-1 
                   libsasl-2.1.22-7  libsm-1.1.0-1  libxfont-1.3.3-1 
                   libxp-1.0.0-2  libxtrap-1.0.0-2  libxxf86vm-1.0.2-1 
                   lirc-utils-0.8.3-1  madwifi-utils-0.9.4.3844-1 
                   madwifi-0.9.4.3844-1  man-pages-3.06-1  ttf-dejavu-2.26-1 
                   giflib-4.1.6-3  mplayer-1.0rc2-5  nautilus-2.22.5.1-1 
                   neon-0.28.2-2  db4.5-4.5.20-1  python-2.5.2-5 
                   openoffice-base-2.4.1-2  pam-1.0.1-2  openssh-5.0p1-2 
                   pciutils-3.0.0-2  perl-5.10.0-4  pm-utils-1.1.2.4-1 
                   preload-0.6.3-2  qt3-3.3.8-8  rarian-0.8.0-2  rsync-3.0.3-1 
                   scrnsaverproto-1.1.0-2  speex-1.2rc1-1  sqlite3-3.6.1-1 
                   swfdec-0.6.8-1  transcode-1.0.6rc1-2  tzdata-2008e-1 
                   vi-7.1.315-1  vlc-0.8.6i-3  wget-1.11.4-1 
                   xf86-input-mouse-1.3.0-1  xf86-video-vesa-1.3.0-6 
                   xfsprogs-2.9.8-1  xorg-twm-1.0.4-1  xorg-xauth-1.0.3-1 
                   xscreensaver-5.07-1  xtrans-1.2.1-1  yelp-2.23.1-2 
    Total Download Size:    0.00 MB
    Total Installed Size:   1322.50 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    (155/155) checking for file conflicts               [#####################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    xulrunner: /usr/include/xulrunner-1.9 exists in filesystem
    xulrunner: /usr/lib/xulrunner-1.9 exists in filesystem
    xulrunner: /usr/lib/xulrunner-devel-1.9 exists in filesystem
    xulrunner: /usr/share/idl/xulrunner-1.9 exists in filesystem
    Errors occurred, no packages were upgraded.
    Any ideas?
    Thanks.
    Last edited by RAH (2008-08-15 18:28:42)

    pacman -Rd xulrunner and delete these files /usr/include/xulrunner-1.9  /usr/lib/xulrunner-1.9 /usr/lib/xulrunner-devel-1.9 /usr/share/idl/xulrunner-1.9. Re-install xulrunner and your good to go. Alternatively force the upgrade with pacman -Syuf.

  • I need help solving Latest Flash Player upgrade crashing issues.

    I recently upgraded my flash player at Adobe reccomendation. Now it crashes all the time. I need help solving this issue. I currently have Flash Version 11.5.502.135. My old version never crashed, not even once. I would be fine uninstalling the new version and going back to the older one but i cant find it.

    Could you please create a crash report? The following page has more information: http://helpx.adobe.com/flash-player/kb/report-flash-player-crash.html
    You can install Flash Player 11.4.402.287 version.
    Thanks,
    Sunil

  • [Solved] Zsh prompt issues

    Hello,
    Ive recently restored my arch system from a backup due to some problems. However I am now having an issue with my zsh prompt.
    I have a .zshrc file in my home dir that was always obeyed by zsh before. Now when I log in the ~/.zshrc file is loaded because all my aliases still work but my prompt is not the one specified in ~/.zshrc file.
    If I copy ~/.zshrc to /etc/zsh/zshrc then the prompt is loaded along with all the other aliases etc.
    Can anyone suggest why this maybe as id like to keep the zsh settings on a per-user basis?
    Thanks
    EDIT: Sorry fixed by reinstalling zsh
    Last edited by ck3mp (2013-04-07 13:01:27)

    Not sure if this is directly relevant to your situation or not, but I encountered a very similar issue starting the other week; loading promptinit and selecting a theme would work, but setting a custom PS1= etc. through my ~/.zshrc no longer did, even though it was still being loaded. I similarly did not think to re-install the package, until I came across this thread. As part of doing so I had to remove several packages with a Zsh dependency. After re-installing Zsh, my normal PS1 etc. came back, but went away again after re-installing the other packages.
    In my case, it appears extra/grml-zsh-config was the culprit; this package adds a lengthy /etc/zsh/zshrc, and the behaviour occurs when that file is present. I couldn't say if this is a bug or just intended behaviour (indeed, I only had GRML-Zsh-Config installed as a dependency for another package); either way, once identified, workarounds became possible.
    Would be curious to know if this was also the case at your end (and if not, well... it seems there are a number of ways one can lose their Zsh prompt configuration!)

  • [SOLVED] Bash: Append file contents to command prompt

    Hi,
    is there a way to append the contents of a file to the command prompt? Say I have defined an alias and I want to change it on the fly. So I'd do
    $ which <my_alias>
    then mark it with the mouse, and paste it to the command line. What I would like to do instead, would be:
    $which <my_alias> > some_temp_file
    $vim some_temp_file #edit the command the way I want it
    $ # somehow get the file contents into the prompt here
    I did try to google it, but to no avail and I know, I could just create a script from some_temp_file but I want the content to appear at the command prompt instead. So is there a way?
    regards,
    mox
    Last edited by Mox (2014-03-07 15:46:09)

    Mox wrote:@progandy: Yes, this might be a step in the right direction. But what do the -i and -v options do? I did not find any documentation in the manpage. And is there a way to expand $COMMAND in the command line before running $COMMAND?
    Why do you want to have the command in a prompt twice? "read -er COMMAND && eval "$COMMAND"" creates a prompt-like environment and then executes the input string. What the options do you can read in the bash-internal help, e.g.:
    $ LC_ALL=C help read
    -e use Readline to obtain the line in an interactive shell
    -i text Use TEXT as the initial text for Readline
    -p prompt output the string PROMPT without a trailing newline before
    attempting to read
    -r do not allow backslashes to escape any characters
    Here is an example:
    [progandy@pamobile ~]$ alias some_test='echo -e Hello WORLD"!"'
    [progandy@pamobile ~]$ command_to_edit="some_test"
    [progandy@pamobile ~]$ read -erp "Edit and execute: " -i "$(command -v $command_to_edit)" COMMAND
    Edit and execute: echo -e Hello WORLD"\t!"
    [progandy@pamobile ~]$ ####### in the line above you edit the command and bring it in the final form with all necessary paramters.
    [progandy@pamobile ~]$ echo -E " *~* Now running: $COMMAND"
    *~* Now running: echo -e Hello WORLD"\t!"
    [progandy@pamobile ~]$ eval "$COMMAND"
    Hello WORLD !
    [progandy@pamobile ~]$
    Last edited by progandy (2014-03-05 05:21:39)

Maybe you are looking for

  • What is the best way to set up itunes with 2 different ipods on same desktop?

    I have a new computer, was able to transfer itunes fine.  now having probs figuring out how to set up 2 ipods.  older ones - 2gb nano and a 30gb classic.  wld like to use same library.  thought about setting up 3 itunes - one main, one for each ipod.

  • MS Access bug executing an insert ?

    Hi, There is a strange problem with MS Access: it doesn't execute the last executeUpdate() sentence you write. If I code, let's say, 10 executeUpdates(), the last one is not inserted into the database. It's not a problem with the code (if I change th

  • Battery performance on vista v osx

    Hi there I have a macbook which runs vista and osx and am finding that the battery performance on vista is pretty poor compared to running osx - has anybody else experienced this and what would be causing it? cheers

  • DFSR replication server is stopping communication

    Ok I am not fully failure with DFSR but here Is the error I am getting from my health report from my server:  DFSR Event ID: 2147488662 The DFS Replication service is stopping communication with partner HOLYROODDC-2012 for replication group Domain Sy

  • My iPhone wont charge/connect to my comp

    *I tried everyone of my chargers* *( like 5 or 6) both with a wall socket charger and on the comp, and it wont show that its charging, it ran out of batteries then i plugged it in and it started charging, then i hit the power button and then i took i