LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2023, 03:07 AM   #1
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Rep: Reputation: Disabled
How do I update a single repo application in command line?


How do I update a single repo application in command line to a latest version? Thanks in advance

Last edited by linux-man; 06-26-2023 at 03:14 AM.
 
Old 06-26-2023, 03:40 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,503

Rep: Reputation: Disabled
If you 'install' it again, it should upgrade to latest version in your repos.
 
1 members found this post helpful.
Old 06-28-2023, 08:46 PM   #3
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
If you 'install' it again, it should upgrade to latest version in your repos.
Right clicked 'mark reinstallation' within Synaptic package manager, and it hasn't upgraded to the latest version.Click apply and refresh too afterwards, no avail.
Quote:
-U, --update Update this program to latest version.
Code:
self-update mechanism is disabled on Debian.
Please update using apt(8).
 
Old 06-29-2023, 02:03 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,927

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
would be nice to know what kind of app and repo is it.
for example using snap you need to execute snap refresh, using pip you need to execute pip install --upgrade, in case of git repo you need to rebuild your app (probably) ....
And sometimes there is no update available.
 
1 members found this post helpful.
Old 06-29-2023, 04:53 AM   #5
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
@pan64
Quote:
Originally Posted by pan64 View Post
would be nice to know what kind of app and repo is it.
The message seems to be from yt-dlp/youtube-dl:
Code:
self-update mechanism is disabled on Debian.
Please update using apt(8).

@OP
Quote:
Originally Posted by linux-man View Post
Right clicked 'mark reinstallation' within Synaptic package manager, and it hasn't upgraded to the latest version.
Pay attention to the highlighted part:
Quote:
Originally Posted by fatmac View Post
If you 'install' it again, it should upgrade to latest version in your repos.
You cannot upgrade to the latest upstream version via APT if it's not in your distro repos.
 
1 members found this post helpful.
Old 06-29-2023, 05:10 AM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,503

Rep: Reputation: Disabled
You could temporarily, add 'testing' to your sources.list, update/upgrade that one particular program, then comment out 'testing' again.

(This could have consequences if you do a regular upgrade of your system.)
 
Old 06-29-2023, 07:13 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,927

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
Quote:
Originally Posted by shruggy View Post
@pan64

The message seems to be from yt-dlp/youtube-dl:
Code:
self-update mechanism is disabled on Debian.
Please update using apt(8).

@OP

Pay attention to the highlighted part:

You cannot upgrade to the latest upstream version via APT if it's not in your distro repos.
if it is yt-dlp use this guide: https://github.com/yt-dlp/yt-dlp/wiki/Installation
Do not use the official package from apt.
 
Old 06-30-2023, 12:28 PM   #8
leclerc78
Member
 
Registered: Dec 2020
Posts: 169

Rep: Reputation: Disabled
sudo apt update
sudo apt install --only-upgrade pkgname

Is this what you want ?
 
1 members found this post helpful.
Old 07-02-2023, 08:33 AM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
If you're trying to upgrade to an experimental feature you need to change your repos as well. It may or may not be safer than temporarily changing your source list? https://wiki.debian.org/DebianExperimental

Edit\add: just caught a post I missed, you can use:
Code:
pip -i youtube-dl
or yt-dlp seems they're in Python's repos...

Last edited by jamison20000e; 07-02-2023 at 09:06 AM. Reason: missed
 
Old 07-24-2023, 09:46 PM   #10
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fatmac View Post
You could temporarily, add 'testing' to your sources.list, update/upgrade that one particular program, then comment out 'testing' again.

(This could have consequences if you do a regular upgrade of your system.)
It could stuff up my os if I don't do the sources list process correctly?

Sorry for late reply but I kept getting blocked by Cloudfare for weeks, otherwise would have been on to this.

Last edited by linux-man; 07-24-2023 at 11:41 PM.
 
Old 07-24-2023, 09:50 PM   #11
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
@pan64

The message seems to be from yt-dlp/youtube-dl:
Code:
self-update mechanism is disabled on Debian.
Please update using apt(8).
correct

Quote:
Originally Posted by shruggy View Post

Pay attention to the highlighted part:

You cannot upgrade to the latest upstream version via APT if it's not in your distro repos.
How do I get it onto the distro repo?
 
Old 07-25-2023, 12:38 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,927

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
Quote:
Originally Posted by linux-man View Post
correct

How do I get it onto the distro repo?
quite simple, just join the distro maintainer team (and do the job).
 
Old 07-25-2023, 12:38 AM   #13
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
bookworm-backports last update to yt-dlp is a version from 18 days ago.
Code:
$ rmadison yt-dlp
yt-dlp     | 2023.03.04-1~bpo11+1 | bullseye-backports | source, all
yt-dlp     | 2023.03.04-1         | stable             | source, all
yt-dlp     | 2023.07.06-1~bpo12+1 | stable-backports   | source, all
yt-dlp     | 2023.07.06-1         | testing            | source, all
yt-dlp     | 2023.07.06-1         | unstable           | source, all
So if you're on Debian 12, just add the official backports repo then
Code:
sudo apt install yt-dlp/bookworm-backports
If you're on Debian 11, you could backport yourself.

Last edited by enigma9o7; 07-25-2023 at 04:40 PM.
 
2 members found this post helpful.
Old 07-26-2023, 11:03 PM   #14
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jamison20000e View Post
... you can use:
Code:
pip -i youtube-dl
or yt-dlp seems they're in Python's repos...
I got
Code:
pip -i youtube-dl

Usage:   
  pip <command> [options]

no such option: -i
 
Old 07-26-2023, 11:06 PM   #15
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by leclerc78 View Post
sudo apt update
sudo apt install --only-upgrade pkgname

Is this what you want ?
pan64 said otherwise.
Quote:
Originally Posted by pan64 View Post
Do not use the official package from apt...You cannot upgrade to the latest upstream version via APT if it's not in your distro repos.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add '--nodigest' and '--nofiledigest' options to yum install command via .repo or repo config file? pbsd Linux - General 0 08-02-2022 06:45 PM
Best way to automate copying of Git repo to subversion repo? jceipek Linux - Server 0 03-15-2011 02:42 AM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 12:41 PM
how to use syanptic in fc 5 and how to add repo in it and which repo is to be added.. vikas04522 Linux - Software 1 08-26-2006 12:29 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration