Results 1 to 7 of 7

Thread: How to update a program installed using Gdebi ?

  1. #1
    Join Date
    Jun 2017
    Beans
    90

    How to update a program installed using Gdebi ?

    I installed Emacs using Gdebi, the following two .deb files were installed :

    emacs25-common*.deb
    emacs25*.deb

    if a new version becomes available(new updated versions of the .deb files mentioned above) then should i uninstall the old .deb packages then install the new ones or should I install the new.deb files on top of the older ones ?


    Many Thanks

  2. #2
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,210
    Distro
    Ubuntu Budgie Development Release

    Re: How to update a program installed using Gdebi ?

    If the packages are not from the repository or seen as identical to existing packages you will have to manually update unless the option to update with the system was offered during installation. I see both packages in synaptic on 18.04, so no need to install from an outside source.
    Last edited by Frogs Hair; June 17th, 2018 at 12:34 AM.
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  3. #3
    Join Date
    Jun 2017
    Beans
    90

    Re: How to update a program installed using Gdebi ?

    I have these installed by manually finding the deb package for each:

    emacs25-common*.deb
    emacs25*.deb

    Now these packages become available:

    emacs26-common*.deb
    emacs26*.deb

    should I uninstall the 25s then install 26s or should I just install 26's on top of 25s(Without removing 25s) ?

  4. #4
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,210
    Distro
    Ubuntu Budgie Development Release

    Re: How to update a program installed using Gdebi ?

    The emacs26 packages are not in the repository so if you need them you'll have manually install them.
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  5. #5
    Join Date
    Jun 2017
    Beans
    90

    Re: How to update a program installed using Gdebi ?

    I am not talking about repositories at all....I manually downloaded emacs25-common*.deb and emacs25*.deb from some websites and used gdebi to install them.....

    now the 26s are available so i downloaded them manually too...

    my question is: Should I just install 26s on top of 25s or should I remove 25s first and then install the 26s....

  6. #6
    Join Date
    Mar 2017
    Beans
    1,018

    Re: How to update a program installed using Gdebi ?

    You would need to uninstall emacs25 and emacs25-common first.
    emacs25-common conflicts with emacs26-common.
    Consider using this ppa https://launchpad.net/~kelleyk/+archive/ubuntu/emacs

    Using the ppa this is the error i got when installing emacs25 then attemting to install emacs26.
    Code:
    Preparing to unpack .../emacs26-common_26.1~1.git07f8f9b-kk1+18.04_all.deb ...
    Unpacking emacs26-common (26.1~1.git07f8f9b-kk1+18.04) ...
    dpkg: error processing archive /var/cache/apt/archives/emacs26-common_26.1~1.git07f8f9b-kk1+18.04_all.deb (--unpack):
     trying to overwrite '/usr/share/emacs/site-lisp/subdirs.el', which is also in package emacs25-common 25.3~1.gite0284ab-kk1+18.04
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/emacs26-common_26.1~1.git07f8f9b-kk1+18.04_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Last edited by again?; June 17th, 2018 at 08:48 AM.

  7. #7
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,210
    Distro
    Ubuntu Budgie Development Release

    Re: How to update a program installed using Gdebi ?

    Quote Originally Posted by automate-stuff View Post
    I am not talking about repositories at all....I manually downloaded emacs25-common*.deb and emacs25*.deb from some websites and used gdebi to install them.....

    now the 26s are available so i downloaded them manually too...

    my question is: Should I just install 26s on top of 25s or should I remove 25s first and then install the 26s....
    I am aware of that as I wrote you'll have to install manually . see guber2 's post above the ppa might be a better option if it has been maintained consistently. I mentioned the repository because 25 was already there.
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

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
  •