Giter Site home page Giter Site logo

wimpysworld / deb-get Goto Github PK

View Code? Open in Web Editor NEW
1.2K 1.2K 121.0 1.12 MB

apt-get for .debs published via GitHub or direct download ๐Ÿ“ฆ

License: MIT License

Shell 98.60% Io 0.64% Roff 0.76%
apt apt-get deb debian dpkg hacktoberfest install linux package-manager ppa ubuntu upgrade

deb-get's People

Contributors

arif-ali avatar brccabral avatar dchubar-fj avatar dhitchcock avatar diegobersanetti avatar dombean avatar dreamcat4 avatar flexiondotorg avatar forage avatar fuseteam avatar hsbasu avatar kingeejit avatar kz6fittycent avatar lyzardking avatar mapitman avatar marosg42 avatar mikabak avatar mralusw avatar natanjunges avatar ngilles avatar ohmymndy avatar p4p4j0hn avatar philclifford avatar rasa avatar richayotte avatar silentjet85 avatar torusjkl avatar xmetalfanx avatar ymauray avatar zero77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deb-get's Issues

please add ubuntuzilla repository

See https://sourceforge.net/p/ubuntuzilla/wiki/Main_Page/ .

Repository adding is possible with:

echo "deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | sudo tee -a /etc/apt/sources.list.d/ubuntuzilla.list > /dev/null
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2667CA5C
sudo apt-get update

This will allow one to install firefox-mozilla-build , firefox-esr-mozilla-build, thunderbird-mozilla-build , seamonkey-mozilla-build packages.

add supported apps

I wish to add bluejeans/strawberry/clementine. How to add new package request?

"(23) Failed writing body" when doing update

I just installed deb-get via curl then ran sudo deb-get update
Here's the full output:

Hit:1 http://gb.archive.ubuntu.com/ubuntu impish InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu impish-updates InRelease [115 kB]
Hit:3 http://ppa.launchpad.net/flexiondotorg/quickemu/ubuntu impish InRelease
Hit:4 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu impish InRelease
Hit:5 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu impish InRelease
Hit:6 https://repos.influxdata.com/ubuntu impish InRelease
Get:7 http://gb.archive.ubuntu.com/ubuntu impish-backports InRelease [101 kB]
Hit:8 http://repository.spotify.com stable InRelease
Hit:9 http://ppa.launchpad.net/yktooo/ppa/ubuntu impish InRelease
Hit:10 http://packages.microsoft.com/repos/code stable InRelease
Hit:11 https://downloads.1password.com/linux/debian/amd64 stable InRelease
Hit:12 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:13 https://packages.microsoft.com/repos/edge stable InRelease
Hit:14 https://apt.syncthing.net syncthing InRelease
Get:15 http://security.ubuntu.com/ubuntu impish-security InRelease [110 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu impish-updates/main amd64 Packages [380 kB]
Hit:17 https://download.sublimetext.com apt/stable/ InRelease
Get:18 http://gb.archive.ubuntu.com/ubuntu impish-updates/main i386 Packages [176 kB]
Get:19 http://gb.archive.ubuntu.com/ubuntu impish-updates/main amd64 DEP-11 Metadata [25.7 kB]
Get:20 http://gb.archive.ubuntu.com/ubuntu impish-updates/universe amd64 Packages [193 kB]
Get:21 http://gb.archive.ubuntu.com/ubuntu impish-updates/universe i386 Packages [121 kB]
Get:22 http://gb.archive.ubuntu.com/ubuntu impish-updates/universe amd64 DEP-11 Metadata [35.5 kB]
Get:23 http://gb.archive.ubuntu.com/ubuntu impish-updates/multiverse amd64 DEP-11 Metadata [940 B]
Hit:24 https://www.charlesproxy.com/packages/apt charles-proxy InRelease
Get:25 http://gb.archive.ubuntu.com/ubuntu impish-backports/universe amd64 DEP-11 Metadata [16.4 kB]
Get:27 https://pkgs.tailscale.com/stable/ubuntu impish InRelease
Get:28 http://security.ubuntu.com/ubuntu impish-security/main amd64 DEP-11 Metadata [20.3 kB]
Get:29 http://security.ubuntu.com/ubuntu impish-security/universe amd64 DEP-11 Metadata [3,628 B]
Hit:26 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Fetched 1,304 kB in 2s (727 kB/s)
Reading package lists...
  [+] Updating /var/cache/deb-get/antimicrox.json
  [+] Updating /var/cache/deb-get/balena-etcher-electron.json
  [+] Updating /var/cache/deb-get/bitwarden.json
  [+] Updating /var/cache/deb-get/codium.json
  [+] Updating /var/cache/deb-get/deb-get.json
  [+] Updating /var/cache/deb-get/figma-linux.json
  [+] Updating /var/cache/deb-get/franz.json
  [+] Updating /var/cache/deb-get/github-desktop.json
(23) Failed writing body
  [+] Updating /var/cache/deb-get/heroic.json
  [+] Updating /var/cache/deb-get/insomnia.json
  [+] Updating /var/cache/deb-get/irccloud-desktop.json
  [+] Updating /var/cache/deb-get/ludo.json
  [+] Updating /var/cache/deb-get/mailspring.json
  [+] Updating /var/cache/deb-get/micro.json
  [*] WARNING! micro (2.0.9-1) has an update pending for: 2.0.10
  [+] Updating /var/cache/deb-get/obsidian.json
  [*] WARNING! ocenaudio (3.10.11-1) has an update pending for: 3.11.10
  [+] Updating /var/cache/deb-get/onlyoffice-desktopeditors.json
  [+] Updating /var/cache/deb-get/powershell.json
  [+] Updating /var/cache/deb-get/rambox.json
  [+] Updating /var/cache/deb-get/rclone.json
  [+] Updating /var/cache/deb-get/rpi-imager.json
  [+] Updating /var/cache/deb-get/simplenote.json
  [*] WARNING! spotify-client (1:1.1.72.439.gc253025e) has an update pending for: 1:1.1.80.699.gc3dac750
  [*] WARNING! zoom (5.9.3.1911) has an update pending for: 5.10.3.2778

PPA install is broken

Attempting to use "sudo deb-get install firefox-esr", the PPA's repo is added but the package is never installed.

I think the logic in install_ppa() is broken:

if ! dpkg -l "${APP}" >/dev/null 2>&1; then
     eula
     apt-get -q -y install "${APP}"

Here "dpkg -l" will return non-zero if a package is missing, but the if statement is checking for zero.

Even if this worked there's still the issue of "dpkg -l" returning zero for packages with only config-files installed. So if you had firefox-esr installed previously then uninstalled it with "apt remove", "deb-get install" won't reinstall it.

Rather than "dpkg -l" I suspect it would be more reliable to parse the output of "dpkg-query -s firefox-esr" and not rely on the return code at all.

[Feature request] port to other languages

Hi Martin,
I was searching for a method to add useful packages that are not available in Ubuntu/Debian repository like Tixati or MS Edge. Most of the time, to try out new apps/versions, I have to either manually download the deb package or add the apt repo manually. It is also a hassle to upgrade to new versions for apps like Tixati. So deb-get of yours would definitely provide an AUR-like experience to avid Ubuntu or Debian users like me.
Is there any plan to rewrite it in C or Python to make it more feature rich?
BTW, I am also requesting to add Tixati - A torrent client to deb-get.

Not ask for sudo?

One of my main gripes about apt is the mandatory 'sudo'.

Is it possible to make deb-get work without sudo? I mean, so that deb-get asks for sudo password but you don't have to explicitly type sudo everytime you wanna use it.

please support Ubuntu 18.04 LTS

Running on Ubuntu 18.04 LTS gives a unexpected (for me) error

$ curl -sL https://raw.githubusercontent.com/wimpysworld/deb-get/main/deb-get | sudo -E bash -s install deb-get
[!] ERROR! Ubuntu Bionic is not supported because it is not derived from a supported Ubuntu release.

I do not see any particular reason to abandon current supported Ubuntu 18.04 LTS release. Please support it in deb-get.

please add Pandoc

Pandoc is a universal document converter - see https://pandoc.org/ .
Its deb-file is always available from https://github.com/jgm/pandoc/releases .

For amd64 the download URL for latest version may be built as follows:

LATEST_PANDOC_DEB_PATH=$(wget https://github.com/jgm/pandoc/releases/latest -O - | grep \.deb | grep href | sed 's/.*href="//g' | sed 's/\.deb.*/\.deb/g' | grep amd64)
LATEST_PANDOC_DEB_URL="https://github.com${LATEST_PANDOC_DEB_PATH}";
echo $LATEST_PANDOC_DEB_URL

to get

https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb

Assumes curl is installed

I tested this on my X220 which is running 22.04. Originally installed from 14.04.3 and upgraded through releases, and doesn't have curl. I get that if I'd used the curl instructions to install deb-get, I'd have discovered this, but I just cloned the repo and ran it from there.

Maybe update the installation instructions to indicate curl is a dependency.

Archive uses unknown compression method

When downloading and attempting to install the latest deb, I get this error.

dpkg-deb: error: archive 'deb-get_0.2.2_all.deb' uses unknown compression for member 'control.tar.zst', giving up

It turns out zstd compression in dpkg is not supported in debian bullseye stable, which is what I'm trying to run this on. Is there any way it can be packaged on a slightly older version of ubuntu so that it works on a wider range of systems?

please carefully sync apps list with applications.json from ubuntu-mate-welcome-legacy

We already have a big list of deb-packages in Ubuntu MATE Welcome Software Boutique.
I would recommend to carefully sync apps from https://github.com/ubuntu-mate/ubuntu-mate-welcome-legacy/blob/master/data/js/applications.json with deb-get applications database. You can even create a parser for this file.

My drafts are below:

#!/bin/sh

echo "URLs"

wget --quiet https://raw.githubusercontent.com/ubuntu-mate/ubuntu-mate-welcome-legacy/master/data/js/applications.json -O - | grep "deb\ .*" --only-matching | sed "s/\"//" | sed "s/\[arch=amd64\] //" | sed "s/\[arch=amd64,armhf\] //" | sed "s/\[arch=amd64,arm64,armhf\] //" | awk '{print $2}' | sort -u | sed "s/https:\/\///" | sed "s/http:\/\///" | awk -F / '{print $1}' | sort -u

echo "----"

echo "PPAs"
wget --quiet https://raw.githubusercontent.com/ubuntu-mate/ubuntu-mate-welcome-legacy/master/data/js/applications.json -O - | grep "ppa:" | sort -u | sed 's/,//g' | sed 's/\"//g' | awk '{print $2}' | sort -u

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.