Announcement

Collapse
No announcement yet.

Problems with software installationa and up-date

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problems with software installationa and up-date

    Hi there,

    I have some problems with installing and updating software on my Kubuntu 13.04, which I haven't experienced with previous versions. First of all I cannot install any application using Muon Software Manager. When I try to do so, it only waits, and waits, and waits, and the installation never begins - see below.





    Moreover this process, although does nothing, seems to block the database:

    Code:
    sudo apt-get install miro
    [sudo] password for zbyszek: 
    Czytanie list pakietów... Gotowe
    Budowanie drzewa zależności       
    Odczyt informacji o stanie... Gotowe
    Zostaną zainstalowane następujące dodatkowe pakiety:
      freepats gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad libboost-python1.49.0 libboost-system1.49.0 libcdaudio1 libfftw3-3 libflite1 libgail18
      libgeoclue0 libglade2-0 libgme0 libgstreamer-plugins-bad0.10-0 libjavascriptcoregtk-1.0-0 libmimic0 libmms0 libofa0 libslv2-9 libsoundtouch0 libspandsp2
      libtorrent-rasterbar7 libvo-aacenc0 libvo-amrwbenc0 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwildmidi-config libwildmidi1 libxvidcore4 libzbar0
      miro-data python-gconf python-glade2 python-gst0.10 python-libtorrent python-libxml2 python-mutagen python-pysqlite2 python-support python-webkit
    Sugerowane pakiety:
      frei0r-plugins libfftw3-bin libfftw3-dev geoclue slv2-jack libtorrent-rasterbar-dbg gstreamer1.0-plugins-base gstreamer1.0-plugins-good
      gstreamer1.0-plugins-bad gstreamer1.0-ffmpeg ttf-dejavu python-notify gstreamer0.10-plugins-ugly libavahi-compat-libdnssd1 ffmpeg2theora
      python-gnome2-doc python-gtk2-doc python-gst0.10-dev python-gst0.10-dbg python-pysqlite2-doc python-pysqlite2-dbg
    Zostaną zainstalowane następujące NOWE pakiety:
      freepats gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad libboost-python1.49.0 libboost-system1.49.0 libcdaudio1 libfftw3-3 libflite1 libgail18
      libgeoclue0 libglade2-0 libgme0 libgstreamer-plugins-bad0.10-0 libjavascriptcoregtk-1.0-0 libmimic0 libmms0 libofa0 libslv2-9 libsoundtouch0 libspandsp2
      libtorrent-rasterbar7 libvo-aacenc0 libvo-amrwbenc0 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwildmidi-config libwildmidi1 libxvidcore4 libzbar0 miro
      miro-data python-gconf python-glade2 python-gst0.10 python-libtorrent python-libxml2 python-mutagen python-pysqlite2 python-support python-webkit
    0 aktualizowanych, 40 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
    1 nie w pełni zainstalowanych lub usuniętych.
    [b]E: Nie udało się uzyskać blokady /var/cache/apt/archives/lock - open (11: Zasoby chwilowo niedostępne)
    E: Nie udało się zablokować katalogu /var/cache/apt/archives/[/b]
    So I have to first remove the "lock file" before trying to install any software.

    Code:
    zbyszek@lapek:~$ sudo rm /var/cache/apt/archives/lock
    Then it goes quite O.K., but still returns some errors at the end of the process...

    Code:
    Przetwarzanie wyzwalaczy pakietu libc-bin...
    ldconfig deferred processing now taking place
    Przetwarzanie wyzwalaczy pakietu python-support...
    Wystąpiły błędy podczas przetwarzania:
     cpufreqd
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I don't have such problem with Muon Package Manager, although as seen above when database is locked it also cannot install any software, which is obvious. Muon Softawre Updater works, although it also returns errors at the end of the process.

    Does anyone have an idea what could be the reason for this behaviour and how to fix it? What cpufreqd has to do with this?

    #2
    Try


    sudo dpkg --configure -a

    Please Read Me

    Comment


      #3
      Hi oshunluvr, here's what I get when performing your command:

      Code:
      zbyszek@lapek:~$ sudo dpkg --configure -a
      [sudo] password for zbyszek: 
      Konfigurowanie pakietu cpufreqd (2.4.2-2) ...
       * Starting CPU Frequency daemon cpufreqd                                                                                                                    *** buffer overflow detected ***: /usr/sbin/cpufreqd terminated
      ======= Backtrace: =========
      /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f4dec0355cc]
      /lib/x86_64-linux-gnu/libc.so.6(+0x110560)[0x7f4dec034560]
      /lib/x86_64-linux-gnu/libc.so.6(+0x110b04)[0x7f4dec034b04]
      /usr/sbin/cpufreqd(main+0x308)[0x402bb8]
      /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f4debf45ea5]
      /usr/sbin/cpufreqd[0x403c9d]
      ======= Memory map: ========
      00400000-0040b000 r-xp 00000000 08:08 412882                             /usr/sbin/cpufreqd
      0060a000-0060b000 r--p 0000a000 08:08 412882                             /usr/sbin/cpufreqd
      0060b000-0060c000 rw-p 0000b000 08:08 412882                             /usr/sbin/cpufreqd
      017de000-017ff000 rw-p 00000000 00:00 0                                  [heap]
      7f4debd0e000-7f4debd22000 r-xp 00000000 08:08 264862                     /lib/x86_64-linux-gnu/libgcc_s.so.1
      7f4debd22000-7f4debf22000 ---p 00014000 08:08 264862                     /lib/x86_64-linux-gnu/libgcc_s.so.1
      7f4debf22000-7f4debf23000 r--p 00014000 08:08 264862                     /lib/x86_64-linux-gnu/libgcc_s.so.1
      7f4debf23000-7f4debf24000 rw-p 00015000 08:08 264862                     /lib/x86_64-linux-gnu/libgcc_s.so.1
      7f4debf24000-7f4dec0e2000 r-xp 00000000 08:08 264837                     /lib/x86_64-linux-gnu/libc-2.17.so
      7f4dec0e2000-7f4dec2e1000 ---p 001be000 08:08 264837                     /lib/x86_64-linux-gnu/libc-2.17.so
      7f4dec2e1000-7f4dec2e5000 r--p 001bd000 08:08 264837                     /lib/x86_64-linux-gnu/libc-2.17.so
      7f4dec2e5000-7f4dec2e7000 rw-p 001c1000 08:08 264837                     /lib/x86_64-linux-gnu/libc-2.17.so
      7f4dec2e7000-7f4dec2ec000 rw-p 00000000 00:00 0 
      7f4dec2ec000-7f4dec2f1000 r-xp 00000000 08:08 412875                     /usr/lib/libcpufreq.so.0.0.0
      7f4dec2f1000-7f4dec4f0000 ---p 00005000 08:08 412875                     /usr/lib/libcpufreq.so.0.0.0
      7f4dec4f0000-7f4dec4f1000 r--p 00004000 08:08 412875                     /usr/lib/libcpufreq.so.0.0.0
      7f4dec4f1000-7f4dec4f2000 rw-p 00005000 08:08 412875                     /usr/lib/libcpufreq.so.0.0.0
      7f4dec4f2000-7f4dec4f5000 r-xp 00000000 08:08 264852                     /lib/x86_64-linux-gnu/libdl-2.17.so
      7f4dec4f5000-7f4dec6f4000 ---p 00003000 08:08 264852                     /lib/x86_64-linux-gnu/libdl-2.17.so
      7f4dec6f4000-7f4dec6f5000 r--p 00002000 08:08 264852                     /lib/x86_64-linux-gnu/libdl-2.17.so
      7f4dec6f5000-7f4dec6f6000 rw-p 00003000 08:08 264852                     /lib/x86_64-linux-gnu/libdl-2.17.so
      7f4dec6f6000-7f4dec719000 r-xp 00000000 08:08 264811                     /lib/x86_64-linux-gnu/ld-2.17.so
      7f4dec8fc000-7f4dec8ff000 rw-p 00000000 00:00 0 
      7f4dec915000-7f4dec918000 rw-p 00000000 00:00 0 
      7f4dec918000-7f4dec919000 r--p 00022000 08:08 264811                     /lib/x86_64-linux-gnu/ld-2.17.so
      7f4dec919000-7f4dec91b000 rw-p 00023000 08:08 264811                     /lib/x86_64-linux-gnu/ld-2.17.so
      7fffd698b000-7fffd69ac000 rw-p 00000000 00:00 0                          [stack]
      7fffd69da000-7fffd69dc000 r-xp 00000000 00:00 0                          [vdso]
      ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
      Aborted (core dumped)
      invoke-rc.d: initscript cpufreqd, action "start" failed.
      dpkg: błąd przetwarzania cpufreqd (--configure):
       podproces zainstalowany skrypt post-installation zwrócił kod błędu 134
      Wystąpiły błędy podczas przetwarzania:
       cpufreqd
      Again there's a problem with cpufreqd... I don't understand this.

      Comment


        #4
        Originally posted by Caesar View Post
        Again there's a problem with cpufreqd... I don't understand this.
        That's an old utility for performing userspace configuration of CPU speeds. It isn't needed on modern hardware, and indeed is no longer part of the default install of any of the *buntu variants. Just get rid of the thing. And just to make sure it's really gone, we're going to bring out the big guns:

        Code:
        sudo dpkg --force-all --purge cpufreqd
        Now try oshun's suggestions.

        Comment


          #5
          What do you mean it isn't needed? I have installed it because my CPU persistently ran on 100%!

          Comment


            #6
            You need a CPUFreq driver and either APM, ACPI (a recent version) or PMU enabled in your kernel in order for this daemon to work.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Aren't those enabled by default?

              Comment


                #8
                Originally posted by Caesar View Post
                What do you mean it isn't needed? I have installed it because my CPU persistently ran on 100%!
                The kernel has dynamically handled scaling for quite some time now.

                Please show the output of:
                Code:
                sudo grep . /sys/devices/system/cpu/cpu*/cpufreq/*

                Comment


                  #9
                  Originally posted by SteveRiley View Post
                  The kernel has dynamically handled scaling for quite some time now.

                  Please show the output of:
                  Code:
                  sudo grep . /sys/devices/system/cpu/cpu*/cpufreq/*
                  Maybe it has, but I believe it was not working properly in my case.

                  Code:
                  zbyszek@lapek:~$ sudo grep . /sys/devices/system/cpu/cpu*/cpufreq/*
                  [sudo] password for zbyszek: 
                  /sys/devices/system/cpu/cpu0/cpufreq/affected_cpus:0
                  /sys/devices/system/cpu/cpu0/cpufreq/bios_limit:2101000
                  /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:2100000
                  /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:2101000
                  /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:800000
                  /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency:10000
                  /sys/devices/system/cpu/cpu0/cpufreq/related_cpus:0 1
                  /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies:2101000 2100000 1600000 1200000 800000 
                  /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:conservative ondemand userspace powersave performance 
                  /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:2101000
                  /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:acpi-cpufreq
                  /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:ondemand
                  /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:2101000
                  /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:800000
                  /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed:<unsupported>
                  grep: /sys/devices/system/cpu/cpu0/cpufreq/stats: Jest katalogiem
                  /sys/devices/system/cpu/cpu1/cpufreq/affected_cpus:1
                  /sys/devices/system/cpu/cpu1/cpufreq/bios_limit:2101000
                  /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq:2100000
                  /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq:2101000
                  /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq:800000
                  /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_transition_latency:10000
                  /sys/devices/system/cpu/cpu1/cpufreq/related_cpus:0 1
                  /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies:2101000 2100000 1600000 1200000 800000 
                  /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors:conservative ondemand userspace powersave performance 
                  /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq:800000
                  /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver:acpi-cpufreq
                  /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor:ondemand
                  /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq:2101000
                  /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq:800000
                  /sys/devices/system/cpu/cpu1/cpufreq/scaling_setspeed:<unsupported>
                  grep: /sys/devices/system/cpu/cpu1/cpufreq/stats: Jest katalogiem

                  Comment


                    #10
                    What kernel version are you running, and what kind of CPU is in your computer?

                    Comment


                      #11
                      Originally posted by SteveRiley View Post
                      What kernel version are you running, and what kind of CPU is in your computer?
                      Code:
                      zbyszek@lapek:~$ uname -a
                      Linux lapek 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
                      My CPU is Intel Core 2 Duo Processor T8100 (3M Cache, 2.10 GHz, 800 MHz FSB) 64 bit.

                      Comment

                      Working...
                      X