slytomcat / yandex-disk-indicator

Panel indicator (GTK+) for YandexDisk CLI client for Linux
GNU General Public License v3.0
241 stars 30 forks source link

Can not add ppa on Ubuntu 24.04 #247

Closed samikhailov closed 5 months ago

samikhailov commented 6 months ago

Steps

  1. Run
$ sudo add-apt-repository ppa:slytomcat/ppa

Result

Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/slytomcat/ppa/ubuntu/
Suites: noble
Components: main
'
Description:
yd-tools
--------------------
yd-tools is a package that contains the following components:
- Desktop panel indicator that assists to monitor the current synchronization status of your Yandex.Disk. It shows current status via icon in indicator area in your desktop panel and via pop-up notifications on your desktop. The indicator also have a menu with more detailed information about Yandex.Disk status, some useful commands and settings.
- Yandex.Disk setup GUI utility that can be used to set-up your connection to Yandex.Disk. It is called automatically during Indicator start when the connection to Yandex.Disk is not configured yet.
- Set of plugins for file managers. Plugins allow to publish and unpublish files via Yandex.Disk. Plugins will be installed automatically and only for the file managers which are currently installed in the system. Supported file managers: Nautilus, Thunar, Nemo, Dolphin, Pantheon-files, Caja.

Interface languages supported: English, Russian, Greek, Bulgarian, Belorussian.

Support
-------
wiki (English/Russian): https://github.com/slytomcat/yandex-disk-indicator/wiki

Sources & Support (English/Russian): https://github.com/slytomcat/yandex-disk-indicator

Project discussion & support (in Russian language) available at http://forum.ubuntu.ru/index.php?topic=241992.0

Maitainer/developer: <email address hidden> (English/Russian)
More info: https://launchpad.net/~slytomcat/+archive/ubuntu/ppa
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.

Found existing deb entry in /etc/apt/sources.list.d/slytomcat-ubuntu-ppa-noble.sources
Hit:1 http://ru.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://repo.yandex.ru/yandex-disk/deb stable InRelease
Get:3 http://ru.archive.ubuntu.com/ubuntu noble-updates InRelease [89,7 kB]                  
Hit:4 http://ru.archive.ubuntu.com/ubuntu noble-backports InRelease                          
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease                                
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease                             
Ign:7 https://ppa.launchpadcontent.net/slytomcat/ppa/ubuntu noble InRelease          
Err:8 https://ppa.launchpadcontent.net/slytomcat/ppa/ubuntu noble Release
  404  Not Found [IP: 2620:2d:4000:1::81 443]
Reading package lists... Done
W: http://repo.yandex.ru/yandex-disk/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://ppa.launchpadcontent.net/slytomcat/ppa/ubuntu noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
antonsoroko commented 6 months ago

@slytomcat can you please enable builds for "Noble" (aka 24.04) in https://launchpad.net/~slytomcat/+archive/ubuntu/ppa settings and trigger a build.

slytomcat commented 5 months ago

Sorry for delay. I've copied existing package to Noble and Oracular but pubish status still pending (for about 15 minutes). Probably soon it will be published.

slytomcat commented 5 months ago

BTW the code usually works for any series. So You can add PPA for previous version if PPA for the current version is not available at the moment.

slytomcat commented 5 months ago

Now see that it is published on launchpad.

antonsoroko commented 5 months ago

@slytomcat как я вижу по скриптам - вы вручную собираете и заливаете пакеты. при желании, можно упростить себе жизнь и настроить Launchpad самому собирать пакеты под каждый дистрибутив (соотв правильные версии зависимостей будут использоваться, например) при создании нового тега в гит.

https://help.launchpad.net/Packaging/SourceBuilds/GettingStarted https://help.launchpad.net/Code/Imports https://help.launchpad.net/Packaging/SourceBuilds/Recipes

ед нюанс, из-за того что у вас каталог debian не в корне, придётся сделать в рецепте nest-part репы саму на себя. я так не пробовал, но думаю прокатит:

# git-build-recipe format 0.4 deb-version {latest-tag}
lp:~ppa_name/repo_name
nest-part packaging lp:~ppa_name/repo_name build/yd-tools/debian debian

решать вам, просто решил поделиться инфой.

(пример рецепта и импортированных гит реп - https://code.launchpad.net/~solaar-unifying/+recipe/solaar-unifying-stable)

slytomcat commented 5 months ago

Спасибо - обязательно посмотрю.