Results 1 to 7 of 7

Thread: Woops - Deleted module

  1. #1
    Join Date
    Oct 2012
    Beans
    88

    Woops - Deleted module

    Ubuntu 12.10 64 bit

    I am trying to get a parallel port working on my system and while "fiddling" around I deleted the file

    parport_pc.ko in kernel/drivers/parport

    How can I restore it?
    Thanks

  2. #2
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,824
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Woops - Deleted module

    It's provided by the package linux-image-<some version>. Reinstalling that package should bring the file back.

  3. #3
    Join Date
    Oct 2012
    Beans
    88

    Re: Woops - Deleted module

    Thanks I've downloaded linux-image-3.5.0-25.39_amd64.deb
    Any precautions before doing this?

  4. #4
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Woops - Deleted module

    you should reinstall from synaptic, its way easier

    sudo apt-get install synaptic
    sudo synaptic

    then reinstall the package

  5. #5
    Join Date
    Jan 2013
    Beans
    525

    Re: Woops - Deleted module

    NO!!!! Don't install downloaded packages. Instead run -- sudo apt-get install --reinstall linux-image-<some version> -- Just find the version of the package you have currently installed on your computer.

  6. #6
    Join Date
    Aug 2008
    Location
    WA
    Beans
    2,186
    Distro
    Ubuntu

    Re: Woops - Deleted module

    the package is probably still sitting in /var/cache/apt/archives/

  7. #7
    Join Date
    Oct 2012
    Beans
    88

    Re: Woops - Deleted module

    The synaptic route worked!
    Thanks

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
  •