Author Topic: (SOLVED) Can't update pclinuxos-gfxboot-theme  (Read 1765 times)

Offline unist

  • Full Member
  • ***
  • Posts: 158
(SOLVED) Can't update pclinuxos-gfxboot-theme
« on: March 28, 2012, 09:21:45 PM »
As a secondary issue of a solved post that I placed in the section for Software ("(SOLVED) LibreOffice Manager does not install suite", http://www.pclinuxos.com/forum/index.php/topic,103773.0.html), I realize that I can't update pclinuxos-gfxboot-theme 4.1.19.18-4pclos2011 to 4.1.19.18-6pclos2012.

Since my original post was solved, but in its process I had the problem for the update of pclinuxos-gfxboot-theme I decided to open this post to address this specific issue.

Kindly please see my thread in the Software section.

In my last post from that thread I showed the output of apt-get --version:

[hugo@localhost ~]$ apt-get --version
apt 0.5.15lorg3.95 for linux i386 compiled on Jun 10 2011 19:24:14
Supported Modules:
*Ver: Standard .rpm
*Pkg:  rpm interface (Priority 20)
 S.L: 'rpm' Standard RPM binary tree
 S.L: 'rpm-src' Standard RPM source tree
 S.L: 'rpm-dir' Local RPM directory tree
 S.L: 'rpm-src-dir' Local SRPM directory tree
 S.L: 'repomd' RepoMD tree
 S.L: 'repomd-src' RepoMD src tree
 Idx: RPM Source Index
 Idx: RPM Package Index
 Idx: RPM Database

I would like to be able to update pclinuxos-gfxboot-theme.

Thank you for your attention.
« Last Edit: March 29, 2012, 07:57:27 PM by unist »
Registered Linux user #547260

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Can't update pclinuxos-gfxboot-theme
« Reply #1 on: March 29, 2012, 12:12:59 AM »

I realize that I can't update pclinuxos-gfxboot-theme 4.1.19.18-4pclos2011 to 4.1.19.18-6pclos2012.


Open Synaptic. Click Settings > Repositories. Be sure you have only one repo checked. It's okay to also have the megagames repository checked (ftp.nl.freebsd.org). Then click Reload. Check the status of packages at the bottom left of the screen. It will show number of packages listed, number installed, number broken, etc. Are there any broken packages?

If not, close Synaptic. Again, make sure you only have one repository selected besides megagames. Open a terminal and enter the following:

su -    <--- (enter root's password after this command)
apt-get clean
apt-get autoclean
apt-get update
apt-get dist-upgrade
exit


What errors do you get? Post all the terminal output, from where you first entered su -. You'll need to copy/paste the terminal contents before entering the exit line, because that will clear the terminal screen.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: Can't update pclinuxos-gfxboot-theme
« Reply #2 on: March 29, 2012, 06:18:21 AM »
...
If not, close Synaptic. Again, make sure you only have one repository selected besides megagames. Open a terminal and enter the following:

su -    <--- (enter root's password after this command)
apt-get clean
apt-get autoclean
apt-get update
apt-get dist-upgrade
exit


What errors do you get? Post all the terminal output, from where you first entered su -. You'll need to copy/paste the terminal contents before entering the exit line, because that will clear the terminal screen.



Also, if you get an error message when trying to run
Code: [Select]
su -
then try it without the dash ("-").  Newer versions have made an alias of
Quote
[jpaglia@paglia-e6500 ~]$ alias
alias KDE='xinit /usr/bin/startkde'
alias cd..='cd ..'
alias cp='cp -i'
alias d='ls'
alias df='df -h -x supermount'
alias du='du -h'
alias egrep='egrep --color'
alias fgrep='fgrep --color'
alias grep='grep --color'
alias kde='xinit /usr/bin/startkde'
alias l='ls'
alias la='ls -a'
alias ll='ls -l'
alias ls='ls -F --color=auto'
alias lsd='ls -d */'
alias mc='. /usr/lib/mc/mc-wrapper.sh'
alias md='mkdir'
alias mv='mv -i'
alias p='cd -'
alias rd='rmdir'
alias rm='rm -i'
alias s='cd ..'
alias su='su -'
  <-- right here!
[jpaglia@paglia-e6500 ~]$

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Can't update pclinuxos-gfxboot-theme
« Reply #3 on: March 29, 2012, 01:37:34 PM »
Hi,

This is a detail you can check for in  /etc/profile.d/ 60alias.sh  and in ~/.bashrc

If you don't like some of the aliases you see you can comment them out. (Then "source myfile.sh" where "myfile.sh" is an example name for the file you have modified).


melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Can't update pclinuxos-gfxboot-theme
« Reply #4 on: March 29, 2012, 06:30:42 PM »
If not, close Synaptic. Again, make sure you only have one repository selected besides megagames. Open a terminal and enter the following:

su -    <--- (enter root's password after this command)
apt-get clean
apt-get autoclean
apt-get update
apt-get dist-upgrade
exit


What errors do you get? Post all the terminal output, from where you first entered su -. You'll need to copy/paste the terminal contents before entering the exit line, because that will clear the terminal screen.




This is the output:

[hugo@localhost ~]$ su
Password:
[root@localhost hugo]# apt-get clean
[root@localhost hugo]# apt-get autoclean
Reading Package Lists... Done
Building Dependency Tree... Done
[root@localhost hugo]# apt-get update
Get:1 http://pclosusers.com pclinuxos/2010 release [2884B]
Fetched 2884B in 5s (535B/s)     
Hit http://pclosusers.com pclinuxos/2010/main pkglist
Hit http://pclosusers.com pclinuxos/2010/main release
Hit http://pclosusers.com pclinuxos/2010/updates pkglist
Hit http://pclosusers.com pclinuxos/2010/updates release
Hit http://pclosusers.com pclinuxos/2010/nonfree pkglist
Hit http://pclosusers.com pclinuxos/2010/nonfree release
Hit http://pclosusers.com pclinuxos/2010/kde4 pkglist
Hit http://pclosusers.com pclinuxos/2010/kde4 release
Hit http://pclosusers.com pclinuxos/2010/games pkglist
Hit http://pclosusers.com pclinuxos/2010/games release                         
Reading Package Lists... Done                                                 
Building Dependency Tree... Done
[root@localhost hugo]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back
   pclinuxos-gfxboot-theme (4.1.19.18-4pclos2011 => )
0 upgraded, 0 newly installed, 0 removed and 1 not upgraded.
[root@localhost hugo]# exit
exit

Note that pclinuxos-gfxboot-theme was not upgraded.
Registered Linux user #547260

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Can't update pclinuxos-gfxboot-theme
« Reply #5 on: March 29, 2012, 06:40:45 PM »
unist,

open a terminal and type in:
Code: [Select]
su  <-- password
cat /etc/apt/preferences

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Can't update pclinuxos-gfxboot-theme
« Reply #6 on: March 29, 2012, 06:44:41 PM »
unist,

open a terminal and type in:
Code: [Select]
su  <-- password
cat /etc/apt/preferences

This is the output of cat /etc/apt/preferences:

[root@localhost ~]# cat /etc/apt/preferences
Package: pclinuxos-theme
Pin: version 1.1.9-4pclos2010
Pin-Priority: 1001

Package: pclinuxos-gfxboot-theme
Pin: version 4.1.19.18-3pclos2010
Pin-Priority: 1001[root@localhost ~]#
Registered Linux user #547260

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Can't update pclinuxos-gfxboot-theme
« Reply #7 on: March 29, 2012, 06:50:49 PM »
Hi,

This is a detail you can check for in  /etc/profile.d/ 60alias.sh  and in ~/.bashrc

This is what I have in /etc/profile.d/ 60alias.sh:

#!/bin/sh
# Linux-Mandrake configuration: Chmouel Boudjnah <chmouel@mandrakesoft.com>
#
# Common Aliases for a system.
#
# The Semantic is :
#   If exist a ~/.alias and the user hasn't specified a
#   LOAD_SYSTEM_ALIAS variables then don't do any system aliases
#   If there is no ~/.alias but the user has specified a
#   IGNORE_SYSTEM_ALIASES then don't do any system aliases.

[ -f ~/.alias ] && [ -z $LOAD_SYSTEM_ALIASES ] && return 0
[ -n "$IGNORE_SYSTEM_ALIASES" ] && return 0

if [ -f ~/.dir_colors ]; then
   eval `dircolors --sh ~/.dir_colors`
else
   eval `dircolors --sh /etc/DIR_COLORS`
fi

# Don't define aliases in plain Bourne shell
[ -n "${BASH_VERSION}${KSH_VERSION}${ZSH_VERSION}" ] || return 0

# default ls options
LS_OPTIONS="-F"

# emacs doesn't support color
if [ $TERM != "emacs" ];then
    LS_OPTIONS="$LS_OPTIONS --color=auto"
fi

# Note that you should not add custom aliases here as this file will be
# overwritten when package bash is upgraded. Instead create an own profile
# file for any added aliases.

alias ls="ls $LS_OPTIONS"

alias d="ls"                                                 
alias l="ls"             # classical listing.
alias ll="ls -l"         # List detailled.
alias la='ls -a'        # List all.               
alias lsd="ls -d */"      # List only the directory.
alias cd..="cd .."      
alias s="cd .."
alias p="cd -"

alias md="mkdir"
alias rd="rmdir"
alias cp="cp -i"
alias mv="mv -i"
alias rm="rm -i"

alias grep="grep --color"      # colored grep by default
alias egrep="egrep --color"      # colored grep by default
alias fgrep="fgrep --color"      # colored grep by default

# Size of a directory (by default Human Readable).
alias du='du -h'                             
                                             
# Size of a disk (by default Human Readable).
# and don't probe supermount
alias df='df -h -x super

And this is what I have in ~/.bashrc:

# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
   . /etc/bashrc
fi

export GTK_IM_MODULE="xim"
export OOO_FORCE_DESKTOP="gnome"
export DE=gnome
Registered Linux user #547260

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Can't update pclinuxos-gfxboot-theme
« Reply #8 on: March 29, 2012, 06:56:15 PM »
unist,

open a terminal and type in:
Code: [Select]
su  <-- password
cat /etc/apt/preferences

This is the output of cat /etc/apt/preferences:

[root@localhost ~]# cat /etc/apt/preferences
Package: pclinuxos-theme
Pin: version 1.1.9-4pclos2010
Pin-Priority: 1001

Package: pclinuxos-gfxboot-theme
Pin: version 4.1.19.18-3pclos2010
Pin-Priority: 1001[root@localhost ~]#


This is what is preventing you to update the package!!!!!


Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Can't update pclinuxos-gfxboot-theme
« Reply #9 on: March 29, 2012, 07:13:13 PM »
unist,

open a terminal and type in:
Code: [Select]
su  <-- password
cat /etc/apt/preferences

This is the output of cat /etc/apt/preferences:

[root@localhost ~]# cat /etc/apt/preferences
Package: pclinuxos-theme
Pin: version 1.1.9-4pclos2010
Pin-Priority: 1001

Package: pclinuxos-gfxboot-theme
Pin: version 4.1.19.18-3pclos2010
Pin-Priority: 1001[root@localhost ~]#


This is what is preventing you to update the package!!!!!



How can I change this?
Registered Linux user #547260

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Can't update pclinuxos-gfxboot-theme
« Reply #10 on: March 29, 2012, 07:23:32 PM »
unist,

open a terminal and type in:
Code: [Select]
su  <-- password
cat /etc/apt/preferences

This is the output of cat /etc/apt/preferences:

[root@localhost ~]# cat /etc/apt/preferences
Package: pclinuxos-theme
Pin: version 1.1.9-4pclos2010
Pin-Priority: 1001

Package: pclinuxos-gfxboot-theme
Pin: version 4.1.19.18-3pclos2010
Pin-Priority: 1001[root@localhost ~]#


This is what is preventing you to update the package!!!!!



How can I change this?

If you don't have any reason to pin those two packages, and I think you don't, open a terminal and type:
Code: [Select]
su
 >  /etc/apt/preferences

verify with:
Code: [Select]
cat /etc/apt/preferencesshould be empty!

then retry to update your system.  ;)

Out of curiosity ... did you forgot that you have written that file yourself ?  :D

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Can't update pclinuxos-gfxboot-theme
« Reply #11 on: March 29, 2012, 07:56:47 PM »
If you don't have any reason to pin those two packages, and I think you don't, open a terminal and type:
Code: [Select]
su
 >  /etc/apt/preferences

verify with:
Code: [Select]
cat /etc/apt/preferencesshould be empty!

then retry to update your system.  ;)

Out of curiosity ... did you forgot that you have written that file yourself ?  :D

SUCCESS!!!

Now I have pclinuxos-gfxboot-theme 4.1.19.18-6pclos2012

I'll tell you that with my very limited knowledge of Linux and PCLOS I couldn't have written that file. How was it made? Well, it's a mystery for me...... ;-)

BIG THANK YOU
Registered Linux user #547260