Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
8.16k stars 429 forks source link

Repository MadLinux break Ubuntu! #625

Closed JumperLuko closed 3 years ago

JumperLuko commented 3 years ago

Describe the bug Do you recommend adding the repository to ubuntu:https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher#ubuntu-third-party-apt-repository Please remove this recommendation for Ubuntu, this repository was made for Debian, it broke several system packages like Wine!

Expected behavior The repo update only de heroic games, maybe a PPA?

Screenshots image

flavioislima commented 3 years ago

HI! That's weird, maybe @rauldipeas have some idea why this is happening, he is the MAD Repo maintainer.

rauldipeas commented 3 years ago

HI! That's weird, maybe @rauldipeas have some idea why this is happening, he is the MAD Repo maintainer.

This is not related to my repository.

By the way, my repository have an updated WINE packages, so you should install winehq-stable instead of wine.

voodooattack commented 3 years ago

HI! That's weird, maybe @rauldipeas have some idea why this is happening, he is the MAD Repo maintainer.

This is not related to my repository.

By the way, my repository have an updated WINE packages, so you should install winehq-stable instead of wine.

This PPA polluted Ubuntu 21.04 for me.

This is what happened after I added it. All these packages get polluted:

~  sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libaom0:i386 libavcodec58:i386 libavutil56:i386 libbdplus0 libcodec2-0.9:i386 libdav1d4:i386 libgomp1:i386 libnuma1:i386 libshine3:i386 libsnappy1v5:i386 libsoxr0:i386 libswresample3:i386
  libvdpau1:i386 libwebpmux3:i386 libx264-160:i386 libx265-192:i386 libxvidcore4:i386 libzvbi0:i386
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed
  libaom3 libdav1d5 libffi7 libffi7:i386 libobjc-9-dev libvmaf-dev libvmaf1 libx264-164 libx265-199 mysql-community-client-plugins
The following packages have been kept back:
  ffmpeg gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gstreamer1.0-gtk3 gstreamer1.0-plugins-base libasound2-plugins libasound2-plugins:i386 libavdevice58 libavresample4
  libavutil-dev libavutil56 libavutil56:i386 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-base1.0-0:i386
  libgstreamer-plugins-base1.0-dev libpostproc55 libswresample-dev libswresample3 libswresample3:i386 libswscale-dev libswscale5 vlc-data
The following packages will be upgraded:
  clang-12 clang-format-12 clang-tidy-12 clang-tools-12 clangd-12 gstreamer1.0-alsa gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio gstreamer1.0-x
  gstreamer1.0-x:i386 hardinfo libaacs0 libaom-dev libaribb24-0 libass9 libbdplus0 libbluray2 libc++-12-dev libc++1-12 libc++abi1-12 libcdio-cdda2 libcdio-paranoia2 libcdio19
  libclang-common-12-dev libclang-cpp12 libclang1-12 libcue2 libdav1d-dev libdca0 libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-common libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2
  libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386 libdvbpsi10 libebml5 libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgbm1:i386 libgl1-mesa-dev
  libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx libglapi-mesa libglapi-mesa:i386 libgles2-mesa-dev libglx-mesa0 libglx-mesa0:i386 libllvm12 libllvm12:i386 libmatroska7 libmp3lame0
  libmp3lame0:i386 libmysqlclient21 libnfs13 libosmesa6 librtmp1 librtmp1:i386 librubberband2 libsignon-plugins-common1 libsignon-qt5-1 libssl-dev libssl1.1 libssl1.1:i386 libtwolame0
  libtwolame0:i386 libudfread0 libvidstab1.1 libvlc-bin libvlc5 libvlccore9 libvpx6 libvpx6:i386 libx265-dev libxatracker2 libxvidcore4 libxvidcore4:i386 llvm-12 llvm-12-dev
  llvm-12-linker-tools llvm-12-runtime llvm-12-tools mysql-common openssl phonon4qt5-backend-vlc sublime-text wine-staging wine-staging-amd64 wine-staging-i386:i386
98 to upgrade, 10 to newly install, 0 to remove and 24 not to upgrade.
Need to get 353 MB of archives.
After this operation, 1,519 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

Output of apt show clang-12

Package: clang-12
Version: 1:12.0.1-1~kisak~f
Priority: --ask-passphrase
Section: devel
Source: llvm-toolchain-12
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Installed-Size: 346 kB
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp12 (>= 1:12.0.1), libgcc-s1 (>= 3.0), libllvm12 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-9-dev, libgcc-9-dev, libobjc-9-dev, libclang-common-12-dev (= 1:12.0.1-1~kisak~f), llvm-12-linker-tools (= 1:12.0.1-1~kisak~f), libclang1-12 (= 1:12.0.1-1~kisak~f), libc6-dev, binutils
Recommends: llvm-12-dev, python3, libomp-12-dev
Suggests: clang-12-doc
Breaks: llvm-12-dev (<< 1:12.0.0-2)
Replaces: llvm-12-dev (<< 1:12.0.0-2)
Homepage: https://www.llvm.org/
Download-Size: 111 kB
APT-Sources: https://sourceforge.net/projects/madlinux/files/repo core/main amd64 Packages
Description: C, C++ and Objective-C compiler
 Clang project is a C, C++, Objective C and Objective C++ front-end based
 on the LLVM compiler. Its goal is to offer a replacement to the GNU
 Compiler Collection (GCC).
 .
 Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also
 provides most of the support of C++20.

Package: clang-12
Version: 1:12.0.0-3ubuntu1~21.04.1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-12
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 346 kB
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp12 (>= 1:12.0.0), libgcc-s1 (>= 3.0), libllvm12 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-10-dev, libgcc-10-dev, libobjc-10-dev, libclang-common-12-dev (= 1:12.0.0-3ubuntu1~21.04.1), llvm-12-linker-tools (= 1:12.0.0-3ubuntu1~21.04.1), libclang1-12 (= 1:12.0.0-3ubuntu1~21.04.1), libc6-dev, binutils
Recommends: llvm-12-dev, python3, libomp-12-dev
Suggests: clang-12-doc
Breaks: llvm-12-dev (<< 1:12.0.0~++rc5-1ubuntu1)
Replaces: llvm-12-dev (<< 1:12.0.0~++rc5-1ubuntu1)
Homepage: https://www.llvm.org/
Download-Size: 68.5 kB
APT-Manual-Installed: no
APT-Sources: http://eg.archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages
Description: C, C++ and Objective-C compiler
 Clang project is a C, C++, Objective C and Objective C++ front-end based
 on the LLVM compiler. Its goal is to offer a replacement to the GNU
 Compiler Collection (GCC).
 .
 Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also
 provides most of the support of C++20.

Package: clang-12
Version: 1:12.0.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-12
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 346 kB
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp12 (>= 1:12.0.0), libgcc-s1 (>= 3.0), libllvm12 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-10-dev, libgcc-10-dev, libobjc-10-dev, libclang-common-12-dev (= 1:12.0.0-1ubuntu1), llvm-12-linker-tools (= 1:12.0.0-1ubuntu1), libclang1-12 (= 1:12.0.0-1ubuntu1), libc6-dev, binutils
Recommends: llvm-12-dev, python3, libomp-12-dev
Suggests: clang-12-doc
Breaks: llvm-12-dev (<< 1:12.0.0~++rc5-1ubuntu1)
Replaces: llvm-12-dev (<< 1:12.0.0~++rc5-1ubuntu1)
Homepage: https://www.llvm.org/
Download-Size: 68.5 kB
APT-Sources: http://eg.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
Description: C, C++ and Objective-C compiler
 Clang project is a C, C++, Objective C and Objective C++ front-end based
 on the LLVM compiler. Its goal is to offer a replacement to the GNU
 Compiler Collection (GCC).
 .
 Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also
 provides most of the support of C++20.

Note the first entry coming from the new PPA. Packages such as LLVM/Clang are dangerous to replace from a non-official repo since so many things depend on it (stuff from other ppa's and so on), and these usually break if it's not the exact version from the distribution.

I don't know what would have happened had I proceeded with the upgrade (most likely nothing good), so I immediately purged it to avoid further problems.

What's interesting is that heroic doesn't even need any of that. The only dependencies listed are gawk and curl:

Package: heroic
Version: 1.9.2
Status: install ok installed
Priority: optional
Section: games
Maintainer: Heroic <flavioislima@gmail.com>
Installed-Size: 335 MB
Depends: gawk, curl
Homepage: https://./
License: GPL-3.0-only
Vendor: Heroic <flavioislima@gmail.com>
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: An Open Source alternative to the Epic Games launcher

I kept the heroic package back and it works like normal even after I removed the PPA.

rauldipeas commented 3 years ago

HI! That's weird, maybe @rauldipeas have some idea why this is happening, he is the MAD Repo maintainer.

This is not related to my repository. By the way, my repository have an updated WINE packages, so you should install winehq-stable instead of wine.

This PPA polluted Ubuntu 21.04 for me.

This is what happened after I added it. All these packages get polluted:

~  sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libaom0:i386 libavcodec58:i386 libavutil56:i386 libbdplus0 libcodec2-0.9:i386 libdav1d4:i386 libgomp1:i386 libnuma1:i386 libshine3:i386 libsnappy1v5:i386 libsoxr0:i386 libswresample3:i386
  libvdpau1:i386 libwebpmux3:i386 libx264-160:i386 libx265-192:i386 libxvidcore4:i386 libzvbi0:i386
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed
  libaom3 libdav1d5 libffi7 libffi7:i386 libobjc-9-dev libvmaf-dev libvmaf1 libx264-164 libx265-199 mysql-community-client-plugins
The following packages have been kept back:
  ffmpeg gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gstreamer1.0-gtk3 gstreamer1.0-plugins-base libasound2-plugins libasound2-plugins:i386 libavdevice58 libavresample4
  libavutil-dev libavutil56 libavutil56:i386 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-base1.0-0:i386
  libgstreamer-plugins-base1.0-dev libpostproc55 libswresample-dev libswresample3 libswresample3:i386 libswscale-dev libswscale5 vlc-data
The following packages will be upgraded:
  clang-12 clang-format-12 clang-tidy-12 clang-tools-12 clangd-12 gstreamer1.0-alsa gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio gstreamer1.0-x
  gstreamer1.0-x:i386 hardinfo libaacs0 libaom-dev libaribb24-0 libass9 libbdplus0 libbluray2 libc++-12-dev libc++1-12 libc++abi1-12 libcdio-cdda2 libcdio-paranoia2 libcdio19
  libclang-common-12-dev libclang-cpp12 libclang1-12 libcue2 libdav1d-dev libdca0 libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-common libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2
  libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386 libdvbpsi10 libebml5 libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgbm1:i386 libgl1-mesa-dev
  libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx libglapi-mesa libglapi-mesa:i386 libgles2-mesa-dev libglx-mesa0 libglx-mesa0:i386 libllvm12 libllvm12:i386 libmatroska7 libmp3lame0
  libmp3lame0:i386 libmysqlclient21 libnfs13 libosmesa6 librtmp1 librtmp1:i386 librubberband2 libsignon-plugins-common1 libsignon-qt5-1 libssl-dev libssl1.1 libssl1.1:i386 libtwolame0
  libtwolame0:i386 libudfread0 libvidstab1.1 libvlc-bin libvlc5 libvlccore9 libvpx6 libvpx6:i386 libx265-dev libxatracker2 libxvidcore4 libxvidcore4:i386 llvm-12 llvm-12-dev
  llvm-12-linker-tools llvm-12-runtime llvm-12-tools mysql-common openssl phonon4qt5-backend-vlc sublime-text wine-staging wine-staging-amd64 wine-staging-i386:i386
98 to upgrade, 10 to newly install, 0 to remove and 24 not to upgrade.
Need to get 353 MB of archives.
After this operation, 1,519 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

Output of apt show clang-12

Package: clang-12
Version: 1:12.0.1-1~kisak~f
Priority: --ask-passphrase
Section: devel
Source: llvm-toolchain-12
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Installed-Size: 346 kB
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp12 (>= 1:12.0.1), libgcc-s1 (>= 3.0), libllvm12 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-9-dev, libgcc-9-dev, libobjc-9-dev, libclang-common-12-dev (= 1:12.0.1-1~kisak~f), llvm-12-linker-tools (= 1:12.0.1-1~kisak~f), libclang1-12 (= 1:12.0.1-1~kisak~f), libc6-dev, binutils
Recommends: llvm-12-dev, python3, libomp-12-dev
Suggests: clang-12-doc
Breaks: llvm-12-dev (<< 1:12.0.0-2)
Replaces: llvm-12-dev (<< 1:12.0.0-2)
Homepage: https://www.llvm.org/
Download-Size: 111 kB
APT-Sources: https://sourceforge.net/projects/madlinux/files/repo core/main amd64 Packages
Description: C, C++ and Objective-C compiler
 Clang project is a C, C++, Objective C and Objective C++ front-end based
 on the LLVM compiler. Its goal is to offer a replacement to the GNU
 Compiler Collection (GCC).
 .
 Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also
 provides most of the support of C++20.

Package: clang-12
Version: 1:12.0.0-3ubuntu1~21.04.1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-12
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 346 kB
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp12 (>= 1:12.0.0), libgcc-s1 (>= 3.0), libllvm12 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-10-dev, libgcc-10-dev, libobjc-10-dev, libclang-common-12-dev (= 1:12.0.0-3ubuntu1~21.04.1), llvm-12-linker-tools (= 1:12.0.0-3ubuntu1~21.04.1), libclang1-12 (= 1:12.0.0-3ubuntu1~21.04.1), libc6-dev, binutils
Recommends: llvm-12-dev, python3, libomp-12-dev
Suggests: clang-12-doc
Breaks: llvm-12-dev (<< 1:12.0.0~++rc5-1ubuntu1)
Replaces: llvm-12-dev (<< 1:12.0.0~++rc5-1ubuntu1)
Homepage: https://www.llvm.org/
Download-Size: 68.5 kB
APT-Manual-Installed: no
APT-Sources: http://eg.archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages
Description: C, C++ and Objective-C compiler
 Clang project is a C, C++, Objective C and Objective C++ front-end based
 on the LLVM compiler. Its goal is to offer a replacement to the GNU
 Compiler Collection (GCC).
 .
 Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also
 provides most of the support of C++20.

Package: clang-12
Version: 1:12.0.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-12
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 346 kB
Provides: c++-compiler, c-compiler, objc-compiler
Depends: libc6 (>= 2.14), libclang-cpp12 (>= 1:12.0.0), libgcc-s1 (>= 3.0), libllvm12 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2), libstdc++-10-dev, libgcc-10-dev, libobjc-10-dev, libclang-common-12-dev (= 1:12.0.0-1ubuntu1), llvm-12-linker-tools (= 1:12.0.0-1ubuntu1), libclang1-12 (= 1:12.0.0-1ubuntu1), libc6-dev, binutils
Recommends: llvm-12-dev, python3, libomp-12-dev
Suggests: clang-12-doc
Breaks: llvm-12-dev (<< 1:12.0.0~++rc5-1ubuntu1)
Replaces: llvm-12-dev (<< 1:12.0.0~++rc5-1ubuntu1)
Homepage: https://www.llvm.org/
Download-Size: 68.5 kB
APT-Sources: http://eg.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
Description: C, C++ and Objective-C compiler
 Clang project is a C, C++, Objective C and Objective C++ front-end based
 on the LLVM compiler. Its goal is to offer a replacement to the GNU
 Compiler Collection (GCC).
 .
 Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also
 provides most of the support of C++20.

Note the first entry coming from the new PPA. Packages such as LLVM/Clang are dangerous to replace from a non-official repo since so many things depend on it (stuff from other ppa's and so on), and these usually break if it's not the exact version from the distribution.

I don't know what would have happened had I proceeded with the upgrade (most likely nothing good), so I immediately purged it to avoid further problems.

What's interesting is that heroic doesn't even need any of that. The only dependencies listed are gawk and curl:

Package: heroic
Version: 1.9.2
Status: install ok installed
Priority: optional
Section: games
Maintainer: Heroic <flavioislima@gmail.com>
Installed-Size: 335 MB
Depends: gawk, curl
Homepage: https://./
License: GPL-3.0-only
Vendor: Heroic <flavioislima@gmail.com>
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: An Open Source alternative to the Epic Games launcher

I kept the heroic package back and it works like normal even after I removed the PPA.

Maybe, we should include an apt pinning config file to never update other packages. Try to put this content on /etc/apt/preferences.d/madlinux and let me know if it works.

# MAD Linux
Package: *
Pin: origin sourceforge.net
Pin-Priority: 100
voodooattack commented 3 years ago

Maybe, we should include an apt pinning config file to never update other packages. Try to put this content on /etc/apt/preferences.d/madlinux and let me know if it works.

# MAD Linux
Package: *
Pin: origin sourceforge.net
Pin-Priority: 100

That works. Seems to only affect wine (and sublime editor but that's an orphan on my system left over from a previous OS upgrade).

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libaom0:i386 libavcodec58:i386 libavutil56:i386 libcodec2-0.9:i386 libdav1d4:i386 libgomp1:i386 libnuma1:i386 libshine3:i386 libsnappy1v5:i386 libsoxr0:i386 libswresample3:i386
  libvdpau1:i386 libwebpmux3:i386 libx264-160:i386 libx265-192:i386 libxvidcore4:i386 libzvbi0:i386
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  sublime-text wine-staging wine-staging-amd64 wine-staging-i386:i386
4 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 185 MB of archives.
After this operation, 670 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Edit: Seem winehq-stable is broken now:

~  sudo apt install winehq-stable                                                                                                        (base) 6.6s  Wed 25 Aug 2021 01:16:05 PM
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 winehq-stable : Depends: wine-stable (= 6.0.1~bullseye-1) but 3.0.1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

Adding this to the pining config fixed it:

Package: wine-stable
Pin: origin sourceforge.net
Pin-Priority: 900
JumperLuko commented 3 years ago

I read all this We can be simple and solve fast

1- Create a pin file, for Heroic sudo nano /etc/apt/preferences.d/heroic

2- Put this inside (black list all, after enable only heroic package)

# MAD Linux > Heroic Games
Package: *
Pin: origin sourceforge.net
Pin-Priority: -100

Package: heroic
Pin: origin sourceforge.net
Pin-Priority: 100

3- Run the madrepo.sh file

Suggestion: insert this whitelist file in madrepo.sh, you can just copy the command below. sudo echo -e "# MAD Linux > Heroic Games\nPackage: *\nPin: origin sourceforge.net\nPin-Priority: -100\n\nPackage: heroic\nPin: origin sourceforge.net\nPin-Priority: 100" > /etc/apt/preferences.d/heroic

rauldipeas commented 3 years ago

I read all this We can be simple and solve fast

1- Create a pin file, for Heroic sudo nano /etc/apt/preferences.d/heroic

2- Put this inside (black list all, after enable only heroic package)

# MAD Linux > Heroic Games
Package: *
Pin: origin sourceforge.net
Pin-Priority: -100

Package: heroic
Pin: origin sourceforge.net
Pin-Priority: 100

3- Run the madrepo.sh file

Suggestion: insert this whitelist file in madrepo.sh, you can just copy the command below. sudo echo -e "# MAD Linux > Heroic Games\nPackage: *\nPin: origin sourceforge.net\nPin-Priority: -100\n\nPackage: heroic\nPin: origin sourceforge.net\nPin-Priority: 100" > /etc/apt/preferences.d/heroic

There's no need to include Heroic in this file with low pin priority.

I'll update the script.

Snivine commented 3 years ago

HI! That's weird, maybe @rauldipeas have some idea why this is happening, he is the MAD Repo maintainer.

This is not related to my repository.

By the way, my repository have an updated WINE packages, so you should install winehq-stable instead of wine.

liar, it also broke my install

rauldipeas commented 3 years ago

HI! That's weird, maybe @rauldipeas have some idea why this is happening, he is the MAD Repo maintainer.

This is not related to my repository. By the way, my repository have an updated WINE packages, so you should install winehq-stable instead of wine.

liar, it also broke my install

I'm not responsible for your lack of knowledge.

Snivine commented 3 years ago

so is my fault that YOUR repo that has packages FOR DEBIAN and never specifies it broke my UBUNTU install?

On Wed, Aug 25, 2021, 11:07 PM Raul Dipeas @.***> wrote:

HI! That's weird, maybe @rauldipeas https://github.com/rauldipeas have some idea why this is happening, he is the MAD Repo maintainer.

This is not related to my repository. By the way, my repository have an updated WINE packages, so you should install winehq-stable instead of wine.

liar, it also broke my install

I'm not responsible for your lack of knowledge.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/625#issuecomment-906098256, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARFXKA7GE7JX4OETB7KPZOLT6XDXPANCNFSM5CPLKWFQ .

flavioislima commented 3 years ago

Hey guys, calm down. I just merged the changes to fix the Ubuntu Issues and I think might be better to change the README as well specifying that this will work for Debian only. We have another repository for Ubuntu that we are testing and will contain only Heroic so I think might be safer to use on it and also on derivatives.

Snivine commented 3 years ago

thank you because this is the second install I have to reinstall, fortunately my internet isn't trash af so it doesn't hurt much

the thing is that apt never specifies from which repo the package comes from, so I didn't knew it was madlinux's fault, until I saw this issue

rauldipeas commented 3 years ago

Hey guys, calm down. I just merged the changes to fix the Ubuntu Issues and I think might be better to change the README as well specifying that this will work for Debian only. We have another repository for Ubuntu that we are testing and will contain only Heroic so I think might be safer to use on it and also on derivatives.

With the pinning file, any Debian or Ubuntu derivative are good to go.

Snivine commented 3 years ago

I'm not responsible for your lack of knowledge.

Well I fixed my install, it was literally to the point of unusability but I did it somehow, still I'm probably going to wait for the ubuntu ppa instead of risking breaking it again with madlinux

JumperLuko commented 3 years ago

I'm not responsible for your lack of knowledge.

Well I fixed my install, it was literally to the point of unusability but I did it somehow, still I'm probably going to wait for the ubuntu ppa instead of risking breaking it again with madlinux

If you only want to pull the epic package to update, use my script, it's a whitelist

https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/625#issuecomment-905725005

voodooattack commented 3 years ago

@rauldipeas @JumperLuko While this is a good fix in the interim, may I recommend setting up a Ubuntu-specific PPA on launchpad.net? I think Ubuntu and its derivates are popular enough to warrant this. The building and publishing of updates is automatic after you set it up.