Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Opensuse 12.1 Update issue

Hybrid View

  1. #1

    Default Opensuse 12.1 Update issue

    Hi,

    I got an update notification. When I opened Apper, it had an updae for software management. But when I try and install the update I get the following error message :"The package libzypp is essential to correct operation and cannot be removed using this tool".

    Now i see that Apper notification sits in my taskbar and due to this Yast doesnt launch as it says "Packagekit" is running.

    Is there a way to install this update or remove it from the list of updaes?

    Thanks,
    Prad

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: Opensuse 12.1 Update issue

    On 25/02/12 07:56, Prad viking wrote:
    >
    > Hi,
    >
    > I got an update notification. When I opened Apper, it had an updae for
    > software management. But when I try and install the update I get the
    > following error message :"The package libzypp is essential to correct
    > operation and cannot be removed using this tool".
    >
    > Now i see that Apper notification sits in my taskbar and due to this
    > Yast doesnt launch as it says "Packagekit" is running.
    >
    > Is there a way to install this update or remove it from the list of
    > updaes?
    >
    > Thanks,
    > Prad
    >
    >


    Don't use Apper

    Configure it not to check for updates

    Use your terminal and run this

    Code:
    su -
    zypper patch
    When it's done, run it again
    and then
    Code:
    zypper up

  3. #3

    Default Re: Opensuse 12.1 Update issue

    Code:
    su -
    zypper patch
    Hi,
    I ran the above code, but I am getting the following error while update process.

    linux-o6mf:/home/viking # zypper patch
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...

    The following NEW patch is going to be installed:
    openSUSE-2012-106

    The following package is going to be REMOVED:
    libzypp

    The following packages are going to be upgraded:
    python-satsolver zypper zypper-log

    "3 packages to upgrade, 1 to remove.
    Overall download size: 1.1 MiB. After the operation, 6.9 MiB will be freed.
    Continue? [y/n/?] (y): y
    Retrieving package python-satsolver-0.44.5-2.3.2.x86_64 (1/3), 242.0 KiB (731.0 KiB unpacked)
    Retrieving: python-satsolver-0.44.5-2.3.2.x86_64.rpm [done (54.6 KiB/s)]
    Retrieving package zypper-1.6.21-5.14.1.x86_64 (2/3), 884.0 KiB (4.9 MiB unpacked)
    Retrieving: zypper-1.6.21-5.14.1.x86_64.rpm [done (65.5 KiB/s)]
    Retrieving package zypper-log-1.6.21-5.14.1.noarch (3/3), 25.0 KiB (6.0 KiB unpacked)
    Retrieving: zypper-log-1.6.21-5.14.1.noarch.rpm [done (0 B/s)]
    Removing libzypp-10.3.5-1.7.1 [error]
    Removal of (84824)libzypp-10.3.5-1.7.1.x86_64(@System) failed:
    Error: Subprocess failed. Error: RPM failed: error: package libzypp-10.3.5-1.7.1.x86_64 is not installed"

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Opensuse 12.1 Update issue

    On 02/26/2012 06:16 PM, Prad viking wrote:
    > Code:
    > --------------------
    > su -
    > zypper patch
    > --------------------


    run it again and i guess it will all be swell..

    --
    DD http://tinyurl.com/DD-Caveat
    What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW

  5. #5

    Default Re: Opensuse 12.1 Update issue

    Still stuck with the same thing.

    I tried installing the missing libzypp file but it seems there is a newer version on my system.

    So basically zypper/apper are trying to update libzypp(libzypp-10.3.5-1.7.1.x86_64.rpm) but the new version is causing problems(libzypp-10.3.7-1.9.4.x86_64.rpm).

    Is there a way to remove the higher version and install the lower version so that my updaes go through?

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Opensuse 12.1 Update issue

    On 02/26/2012 07:56 PM, Prad viking wrote:
    >
    > I tried installing the missing libzypp file but it seems there is a
    > newer version on my system.


    please show us the terminal input/output from

    Code:
    zypper lr -d
    copy/paste the in/output back to this thread using the instructions
    here: http://goo.gl/i3wnr



    > So basically zypper/apper are trying to update


    you have been told three times in this thread to not use apper, it is
    broken....so, how can it be trying to do anything?

    disable apper....i can only guess how to do that: try right clicking on
    the icon and from the popup menu which results see if there is not
    something where you can allow, disallow or select:

    -updates
    -notifications of pending update
    -startup at boot
    -shutdown

    following that run these commands

    Code:
    su -
    rpmdb --rebuilddb
    zypper clean --all
    zypper ref
    zypper patch


    > libzypp(libzypp-10.3.5-1.7.1.x86_64.rpm) but the new version is causing
    > problems(libzypp-10.3.7-1.9.4.x86_64.rpm).
    > Is there a way to remove the higher version and install the lower
    > version so that my updaes go through?


    first, lets see what happens once apper is out of the picture (for sure
    and for good) and the rpm database has been rebuilt..

    so, let us hear how it goes....and, be patient that rpm rebuild may take
    some time....give it plenty

    --
    DD http://tinyurl.com/DD-Caveat
    What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW

  7. #7

    Default Re: Opensuse 12.1 Update issue

    Here is the terminal output for zypper lr -d

    Code:
    
    linux-o6mf:/home/viking # zypper lr -d
    #  | Alias                             | Name                                    | Enabled | Refresh | Priority | Type     | URI                                                                       | Service
    ---+-----------------------------------+-----------------------------------------+---------+---------+----------+----------+---------------------------------------------------------------------------+--------
     1 | ATI/AMD-FGLRX                     | ATI/AMD-FGLRX                           | Yes     | Yes     |   99     | rpm-md   | http://geeko.ioda.net/mirror/ati/openSUSE_12.1/                           |        
     2 | PK_TMP_DIR                        | PK_TMP_DIR                              | Yes     | Yes     |   99     | plaindir | dir:///var/tmp/TmpDir.aeKedx                                              |        
     3 | Packman Repository                | Packman Repository                      | Yes     | Yes     |   99     | rpm-md   | http://packman.inode.at/suse/12.1/                                        |        
     4 | download.opensuse.org-Extra       | openSUSE BuildService - KDE:Extra       | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.1/       |        
     5 | download.opensuse.org-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_12.1/ |        
     6 | download.opensuse.org-games       | openSUSE BuildService - Games           | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/repositories/games/openSUSE_12.1/            |        
     7 | download.opensuse.org-mozilla     | openSUSE BuildService - Mozilla         | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/repositories/mozilla/openSUSE_12.1/          |        
     8 | download.opensuse.org-non-oss     | Main Repository (NON-OSS)               | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/12.1/repo/non-oss/              |        
     9 | download.opensuse.org-non-oss_1   | openSUSE-12.1-Non-Oss                   | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/12.1/repo/non-oss               |        
    10 | download.opensuse.org-oss         | Main Repository (OSS)                   | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/12.1/repo/oss/                  |        
    11 | download.opensuse.org-oss_1       | openSUSE-12.1-Oss                       | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/12.1/repo/oss                   |        
    12 | download.opensuse.org-oss_2       | Main Repository (Sources)               | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/source/distribution/12.1/repo/oss/           |        
    13 | download.opensuse.org-update      | Main Update Repository                  | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/12.1/                                 |        
    14 | google-chrome                     | google-chrome                           | Yes     | Yes     |   99     | rpm-md   | http://dl.google.com/linux/chrome/rpm/stable/x86_64                       |        
    15 | openSUSE_Factory                  | openSUSE_Factory                        | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/repositories/graphics/openSUSE_Factory/      |        
    16 | opensuse-guide.org-repo           | libdvdcss repository                    | Yes     | Yes     |   99     | rpm-md   | http://opensuse-guide.org/repo/12.1/                                      |        
    17 | packman.inode.at-suse             | Packman Repository                      | Yes     | Yes     |   99     | rpm-md   | http://packman.inode.at/suse/12.1/                                        |        
    18 | repo-debug                        | openSUSE-12.1-Debug                     | No      | Yes     |   99     | NONE     | http://download.opensuse.org/debug/distribution/12.1/repo/oss/            |        
    19 | repo-debug-update                 | openSUSE-12.1-Update-Debug              | No      | Yes     |   99     | NONE     | http://download.opensuse.org/debug/update/12.1/                           |        
    20 | repo-non-oss                      | openSUSE-12.1-Non-Oss                   | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/12.1/repo/non-oss/              |        
    21 | repo-oss                          | openSUSE-12.1-Oss                       | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/12.1/repo/oss/                  |        
    22 | repo-source                       | openSUSE-12.1-Source                    | No      | Yes     |   99     | NONE     | http://download.opensuse.org/source/distribution/12.1/repo/oss/           |        
    23 | repo-update                       | openSUSE-12.1-Update                    | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/12.1/
    copy/paste the in/output back to this thread using the instructions
    here: Posting in Code Tags - A Guide



    > So basically zypper/apper are trying to update


    you have been told three times in this thread to not use apper, it is
    broken....so, how can it be trying to do anything?

    disable apper....i can only guess how to do that: try right clicking on
    the icon and from the popup menu which results see if there is not
    something where you can allow, disallow or select:

    -updates
    -notifications of pending update
    -startup at boot
    -shutdown

    following that run these commands

    Code:
    su -
    rpmdb --rebuilddb
    zypper clean --all
    zypper ref
    zypper patch
    
    after Zypper patch I get the following:
    
    linux-o6mf:~ # zypper patch
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following NEW packages are going to be installed:
      libpython2_7-1_0-32bit libtalloc2-32bit libtdb1-32bit samba-client-32bit 
    
    The following NEW patches are going to be installed:
      openSUSE-2012-100 openSUSE-2012-101 openSUSE-2012-104 openSUSE-2012-108 
      openSUSE-2012-109 openSUSE-2012-115 openSUSE-2012-120 openSUSE-2012-121 
      openSUSE-2012-125 openSUSE-2012-126 openSUSE-2012-98 openSUSE-2012-99 
    
    The following packages are going to be upgraded:
      MozillaFirefox MozillaFirefox-translations-common aaa_base aaa_base-extras autofs 
      flash-player flash-player-kde4 grub libgnutls28 libldb1 libopenssl1_0_0 
      libsmbclient0 libtalloc2 libtdb1 libtevent0 libwbclient0 libxslt-devel libxslt1 
      openssl opensuse-manuals_en oxygen-gtk pm-utils pm-utils-ndiswrapper samba-client 
    
    24 packages to upgrade, 4 new.
    Overall download size: 55.2 MiB. After the operation, additional 509.0 KiB will be 
    used.
    Continue? [y/n/?] (y): y
    Do you agree with the terms of the license? [yes/no] (no): y
    Retrieving package MozillaFirefox-10.0.2-2.21.1.x86_64 (1/28), 13.6 MiB (36.0 MiB unpacked)
    Retrieving delta: ./x86_64/MozillaFirefox-10.0.1_10.0.2-2.19.1_2.21.1.x86_64.drpm, 251.0 KiB
    .....................................................(I have truncated the text as it was too long)
    .....................................................
    Applying delta: ./samba-client-3.6.1_3.6.3-34.3.1_34.6.1.x86_64.drpm [done]
    Installing: MozillaFirefox-10.0.2-2.21.1 [done]
    Additional rpm output:
    Unknown media type in type 'all/all'
    Unknown media type in type 'all/allfiles'
    Unknown media type in type 'uri/mms'
    Unknown media type in type 'uri/mmst'
    Unknown media type in type 'uri/mmsu'
    Unknown media type in type 'uri/pnm'
    Unknown media type in type 'uri/rtspt'
    Unknown media type in type 'uri/rtspu'
    Unknown media type in type 'interface/x-winamp-skin'
    
    
    Installing: aaa_base-12.1-534.107.1 [done]
    Additional rpm output:
    Updating /etc/sysconfig/language...
    Updating /etc/sysconfig/backup...
    Updating /etc/sysconfig/boot...
    Updating /etc/sysconfig/suseconfig...
    Updating /etc/sysconfig/clock...
    Updating /etc/sysconfig/proxy...
    Updating /etc/sysconfig/windowmanager...
    Updating /etc/sysconfig/cron...
    Updating /etc/sysconfig/news...
    Updating /etc/sysconfig/shutdown...
    Updating etc/passwd...unchanged
    Updating etc/group...unchanged
    Updating etc/shadow...unchanged
    
    
    Installing: flash-player-11.1.102.62-7.1 [done]
    Installing: grub-0.97-177.4.1 [done]
    Additional rpm output:
    0+1 records in
    0+1 records out
    102026 bytes (102 kB) copied, 0.000194438 s, 525 MB/s
    
    
    Installing: libgnutls28-3.0.3-5.3.1 [done]
    Installing: libopenssl1_0_0-1.0.0e-34.5.1 [done]
    Installing: libpython2_7-1_0-32bit-2.7.2-7.5.1 [done]
    Installing: libtalloc2-2.0.5-34.6.1 [done]
    Installing: libtdb1-1.2.9-34.6.1 [done]
    Installing: libtdb1-32bit-1.2.9-34.6.1 [done]
    Installing: libwbclient0-3.6.3-34.6.1 [done]
    Installing: libxslt1-1.1.26-15.3.1 [done]
    Installing: opensuse-manuals_en-12.1-12.3.2 [done]
    Installing: oxygen-gtk-1.1.4-2.4.1 [done]
    Installing: pm-utils-1.4.1-12.4.1 [done]
    Additional rpm output:
    redirecting to systemctl
    Warning: Unit file of created job changed on disk, 'systemctl --system daemon-reload' recommended.
    
    
    Installing: MozillaFirefox-translations-common-10.0.2-2.21.1 [done]
    Installing: autofs-5.0.6-5.4.1 [done]
    Additional rpm output:
    Updating /etc/sysconfig/autofs...
    redirecting to systemctl
    
    
    Installing: aaa_base-extras-12.1-534.107.1 [done]
    Installing: flash-player-kde4-11.1.102.62-7.1 [done]
    Installing: openssl-1.0.0e-34.5.1 [done]
    Installing: libtalloc2-32bit-2.0.5-34.6.1 [done]
    Installing: libtevent0-0.9.11-34.6.1 [done]
    Installing: libsmbclient0-3.6.3-34.6.1 [done]
    Installing: libxslt-devel-1.1.26-15.3.1 [done]
    Installing: pm-utils-ndiswrapper-1.4.1-12.4.1 [done]
    Installing: samba-client-32bit-3.6.3-34.6.1 [done]
    Installing: libldb1-1.0.2-34.6.1 [done]
    Installing: samba-client-3.6.3-34.6.1 [done]
    Additional rpm output:
    Updating /etc/sysconfig/network/dhcp...
    
    
    There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs.

  8. #8
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Opensuse 12.1 Update issue

    On 02/27/2012 05:06 PM, Prad viking wrote:
    >
    > Here is the terminal output for zypper lr -d
    >
    >
    > Code:
    > --------------------
    >
    >
    >
    > linux-o6mf:/home/viking # zypper lr -d
    > # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
    > ---+-----------------------------------+-----------------------------------------+---------+---------+----------+----------+---------------------------------------------------------------------------+--------
    > 1 | ATI/AMD-FGLRX | ATI/AMD-FGLRX | Yes | Yes | 99 | rpm-md | http://geeko.ioda.net/mirror/ati/openSUSE_12.1/ |
    > 2 | PK_TMP_DIR | PK_TMP_DIR | Yes | Yes | 99 | plaindir | dir:///var/tmp/TmpDir.aeKedx |
    > 3 | Packman Repository | Packman Repository | Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/12.1/ |
    > 4 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/reposit...openSUSE_12.1/ |
    > 5 | download.opensuse.o,rg-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/reposit...openSUSE_12.1/ |
    > 6 | download.opensuse.org-games | openSUSE BuildService - Games | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/reposit...openSUSE_12.1/ |
    > 7 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/reposit...openSUSE_12.1/ |
    > 8 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distrib.../repo/non-oss/ |
    > 9 | download.opensuse.org-non-oss_1 | openSUSE-12.1-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distrib...1/repo/non-oss |
    > 10 | download.opensuse.org-oss | Main Repository (OSS) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distrib...12.1/repo/oss/ |
    > 11 | download.opensuse.org-oss_1 | openSUSE-12.1-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.1/repo/oss |
    > 12 | download.opensuse.org-oss_2 | Main Repository (Sources) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/source/...12.1/repo/oss/ |
    > 13 | download.opensuse.org-update | Main Update Repository | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.1/ |
    > 14 | google-chrome | google-chrome | Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
    > 15 | openSUSE_Factory | openSUSE_Factory | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/reposit...nSUSE_Factory/ |
    > 16 | opensuse-guide.org-repo | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/12.1/ |
    > 17 | packman.inode.at-suse | Packman Repository | Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/12.1/ |
    > 18 | repo-debug | openSUSE-12.1-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/d...12.1/repo/oss/ |
    > 19 | repo-debug-update | openSUSE-12.1-Update-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/12.1/ |
    > 20 | repo-non-oss | openSUSE-12.1-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distrib.../repo/non-oss/ |
    > 21 | repo-oss | openSUSE-12.1-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distrib...12.1/repo/oss/ |
    > 22 | repo-source | openSUSE-12.1-Source | No | Yes | 99 | NONE | http://download.opensuse.org/source/...12.1/repo/oss/ |
    > 23 | repo-update | openSUSE-12.1-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.1/


    first, please read and follow the paragraph beginning with "IMPORTANT"
    in this posting http://tinyurl.com/33qc9vu, i ask you to read that first
    because it will explain what is guiding this:

    please open YaST Software Repositorys and disable and stop refreshing
    these repos: 1, 2, 4, 5, 6, 7, 9, 11, 12, 14, 15, 16, 17, 20, 21, 23

    then stop refreshing these: 8, 10, 18, 19, 22

    if i did that right you should then have only four repos enabled (oss,
    non-oss, update and packman; and only the last two or those refreshing.

    after you have done that, then disable apper--have you done that?

    ok, then reboot and do this in a terminal again:

    Code:
    su -
    rpmdb --rebuilddb
    zypper clean --all
    zypper ref
    zypper patch
    and, next time you have more than four repos *or* download anything from
    factory...you are on your own!!

    in fact, i am nowhere near sure that what i have advised will repair all
    the damage that (may) have been done with all those repos!!

    and, i hope it is smooth because i would not know what else to do..

    by the way, if it hurts your feelings that i'm asking you to follow info
    in the "new person" FAQ then take a look at my repos:
    http://paste.opensuse.org/81397698

    --
    DD http://tinyurl.com/DD-Caveat http://tinyurl.com/DD-Hardware
    http://tinyurl.com/DD-Software
    What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW

  9. #9

    Default Re: Opensuse 12.1 Update issue

    Code:
    su -
    rpmdb --rebuilddb
    zypper clean --all
    zypper ref
    zypper patch
    Hi Denver,

    Did all that you told and after the "zypper patch" instruction finally I see that everything is fine.


    Code:
    linux-o6mf:~ # zypper patch
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    Nothing to do.
    Thanks you for your help....

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Opensuse 12.1 Update issue

    On 02/28/2012 03:36 PM, Prad viking wrote:
    > Thanks you for your help..


    very welcome....keep those repos trimmed down to oss, non-oss, packman
    and update all the time and you will not have troubles like these..

    and, realize that any software one click that comes from a repo with any
    of these words in it _might_ kill you system: unstable, tumbleweed,
    playground, experimental, home, maintenance

    and, consider downloading from factory about as safe as playing in the
    street.

    and, after every 1-Click check to make sure all repos it enabled are
    disabled and not refreshing..

    or, of course it is your machine so do as you wish--but if you break it,
    you fix it.

    --
    DD http://tinyurl.com/DD-Caveat http://tinyurl.com/DD-Hardware
    http://tinyurl.com/DD-Software
    What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •