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

Thread: zramswap snag

  1. #1
    Join Date
    May 2009
    Beans
    31

    zramswap snag

    I'm not positive what initiated this problem but now anytime I try to upgrade or download updates or run my synaptic package manager or whatever in the terminal, I seem to run into this and it snags and hangs right there.
    (Reading database ... 217483 files and directories currently installed.)
    Preparing to replace zramswap-enabler 0.2.1-0~19~precise1 (using .../zramswap-enabler_0.2.1-0~20~precise1_all.deb) ...
    Last thing I did before this was to install Miro. When I try to uninstall Miro, it snags there too. When I try to upgrade Miro to a newer version, it snags there.

    Any ideas on how to repair?

  2. #2
    Join Date
    May 2009
    Beans
    31

    Re: zramswap snag

    The only way out of the hang is a reboot to force quit.

  3. #3
    Join Date
    Jun 2012
    Beans
    2

    Re: zramswap snag

    I have the exact same error.

  4. #4
    Join Date
    Dec 2004
    Beans
    260

    Re: zramswap snag

    I'm getting the same issue and I don't have Miro installed.

    The way I got around the freezing of apt utilties was to kill off dpkg and then uninstall it, which gave me the freeze issue again. The second time trying to uninstall it worked like a charm.

    I would uninstall it untill the zram folks can get it working properly.

    sudo killall -9 dpkg

    Any further attempts to use package utilties should ask you to run the following to fix the state in which you left dpkg.

    sudo dpkg --configure -a

    Then:

    wajig purge zramswap-enabler


    It'll still seem to get stuck. If you kill off dpkg again, from getting tired of waiting, make sure to run the purge command, just to make sure things are uninstalled.

    Run thius again:
    sudo dpkg --configure -a

    Then maybe run autoremove to remove unnecessary deps.

    Someone should report the issue to what ever dev runs the corresponding ppa. I don't remember which ppa corresponds, but suffice to say it's not part of a default Ubuntu install, nor is it supported.

    UPDATE
    It's ppa:shnatsel/zram
    Last edited by chascon; June 5th, 2012 at 11:45 PM.

  5. #5
    Join Date
    Apr 2012
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: zramswap snag

    You can try this;

    http://www.ubuntuupdates.org/package...se/zram-config

    it is still buggy and hard to remove. It grabbed 4 GB of my SSD, and I was unable to change that despite using a number of utilities. It has not caused any serious problems up to now, but I can't see any use for it on my machine and I don't want to lose 4 GB of space on my SSD to it. I am rather put out that it was installed as a default and without asking me.

    There is no evidence to suggest that it is any use at all on a SSD.

    So, you an remove it using "Disks" utility. Just delete the swap partition on the SSD.
    Last edited by traditionalist; June 6th, 2012 at 12:05 AM.

  6. #6
    Join Date
    Aug 2009
    Beans
    Hidden!

    Re: zramswap snag

    Update Manager got botched stalling zramswap-enabler update from zramswap-enabler_0.2.1-0~19~precise1_all.deb to 0~20.

    Subsequently all this failed:
    apt-get remove zramswap
    apt-get install -f
    apt-get autoclean
    apt-get autoremove
    synaptic
    dpkg --configure -a

    I then used the folowing long and fastidious method (overdetailed, newbie mode activated, beeing a newbie myself), to overcome this.

    ***********************************

    note : < something > means a keyboard key

    ***********************************

    pre-0 - Forgot this, I rebooted before doing this...

    0 - Open a terminal:

    0.1 - press simultaneously <control> <alt> <t>

    or

    0.2 - go through the menu for this step

    1 - become root
    sudo su <enter>
    type_your_administrative_password <enter>

    2 - stop zramswap-enabler, type
    /etc/init.d/zramswap stop <enter>

    3 - remove zramswap-enabler startup service
    update-rc.d -f zramswap remove <enter>

    4 - Remove zramswap-enabler files, choose one of of the following two options:

    4.1 - YOU ASSUME, BY CHOOSING THIS OPTION, THAT YOU FULLY UNDERTAND ALL ITS IMPLICATIONS; just remove all the zramswap* files, type
    find / -type f -name "zramswap*" -exec rm -f {} \; <enter>

    or

    4.2 - ask for permission for every removal, type
    find / -type f -name "zramswap*" -exec rm -i {} \; <enter>

    5 - To be on the safe side

    5.1 - type
    apt-get autoremove <enter>

    5.2 - type
    apt-get autoclean <enter>

    5.3 - probably not needed, but just in case, type
    apt-get remove zramswap-enabler <enter>

    6 - close terminal

    7 - reboot

    ***********************************

    Good luck.
    Last edited by test666; June 6th, 2012 at 01:11 AM. Reason: Text bug... And forgot to mention I rebooted before doing this. And edited again, now at point 4, for clarity.

  7. #7
    Join Date
    Jan 2010
    Beans
    24

    Re: zramswap snag

    Thanks guy's I have had the same problem all fixed
    now All is good.

    Cheers
    Skey.
    Mick

  8. #8
    Join Date
    May 2009
    Beans
    31

    Re: zramswap snag

    Quote Originally Posted by test666 View Post
    Update Manager got botched stalling zramswap-enabler update from zramswap-enabler_0.2.1-0~19~precise1_all.deb to 0~20.

    Subsequently all this failed:
    apt-get remove zramswap
    apt-get install -f
    apt-get autoclean
    apt-get autoremove
    synaptic
    dpkg --configure -a

    I then used the folowing long and fastidious method (overdetailed, newbie mode activated, beeing a newbie myself), to overcome this.

    ***********************************

    note : < something > means a keyboard key

    ***********************************

    pre-0 - Forgot this, I rebooted before doing this...

    0 - Open a terminal:

    0.1 - press simultaneously <control> <alt> <t>

    or

    0.2 - go through the menu for this step

    1 - become root
    sudo su <enter>
    type_your_administrative_password <enter>

    2 - stop zramswap-enabler, type
    /etc/init.d/zramswap stop <enter>

    3 - remove zramswap-enabler startup service
    update-rc.d -f zramswap remove <enter>

    4 - Remove zramswap-enabler files, choose one of of the following two options:

    4.1 - YOU ASSUME, BY CHOOSING THIS OPTION, THAT YOU FULLY UNDERTAND ALL ITS IMPLICATIONS; just remove all the zramswap* files, type
    find / -type f -name "zramswap*" -exec rm -f {} \; <enter>

    or

    4.2 - ask for permission for every removal, type
    find / -type f -name "zramswap*" -exec rm -i {} \; <enter>

    5 - To be on the safe side

    5.1 - type
    apt-get autoremove <enter>

    5.2 - type
    apt-get autoclean <enter>

    5.3 - probably not needed, but just in case, type
    apt-get remove zramswap-enabler <enter>

    6 - close terminal

    7 - reboot

    ***********************************

    Good luck.

    Took a few tries but it seems to be working right now. Thanks.

  9. #9
    Join Date
    Jun 2012
    Beans
    2

    Re: zramswap snag

    I did it with sudo dpkg -r --force-remove-reinstreq zramswap-enabler it threw an error, then went xkill on the terminal. Rebooted

    sudo apt-get update
    sudo apt-get upgrade -f
    sudo dist-upgrade -f

    Now things are back working again and I can update my system.

  10. #10
    Join Date
    Jul 2011
    Beans
    1

    Re: zramswap snag

    Quote Originally Posted by hypermodern View Post
    I did it with sudo dpkg -r --force-remove-reinstreq zramswap-enabler it threw an error, then went xkill on the terminal. Rebooted

    sudo apt-get update
    sudo apt-get upgrade -f
    sudo dist-upgrade -f

    Now things are back working again and I can update my system.
    Thanks a lot hypermodern! Your solution worked very fine.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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