genesisweb / valet-linux-plus

Advanced local development experience for Linux.
MIT License
143 stars 23 forks source link

Error during valet install #64

Closed datlechin closed 1 year ago

datlechin commented 1 year ago
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libjemalloc2 liblzf1 redis-tools
Suggested packages:
  ruby-redis
The following NEW packages will be installed:
  libjemalloc2 liblzf1 redis-server redis-tools
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1.470 kB of archives.
After this operation, 7.537 kB of additional disk space will be used.
Err:1 http://vn.archive.ubuntu.com/ubuntu kinetic/universe amd64 libjemalloc2 amd64 5.2.1-5
  404  Not Found [IP: 127.0.0.1 80]
Err:2 http://vn.archive.ubuntu.com/ubuntu kinetic/universe amd64 liblzf1 amd64 3.6-3
  404  Not Found [IP: 127.0.0.1 80]
Err:3 http://vn.archive.ubuntu.com/ubuntu kinetic/universe amd64 redis-tools amd64 5:7.0.4-1
  404  Not Found [IP: 127.0.0.1 80]
Err:4 http://vn.archive.ubuntu.com/ubuntu kinetic/universe amd64 redis-server amd64 5:7.0.4-1
  404  Not Found [IP: 127.0.0.1 80]
E: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/pool/universe/j/jemalloc/libjemalloc2_5.2.1-5_amd64.deb  404  Not Found [IP: 127.0.0.1 80]
E: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/pool/universe/libl/liblzf/liblzf1_3.6-3_amd64.deb  404  Not Found [IP: 127.0.0.1 80]
E: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/pool/universe/r/redis/redis-tools_7.0.4-1_amd64.deb  404  Not Found [IP: 127.0.0.1 80]
E: Failed to fetch http://vn.archive.ubuntu.com/ubuntu/pool/universe/r/redis/redis-server_7.0.4-1_amd64.deb  404  Not Found [IP: 127.0.0.1 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

In Apt.php line 79:

  Apt was unable to install [redis-server].  

install [--ignore-selinux] [--mariadb]
uttamrabadiya commented 1 year ago

@datlechin Could you please specify what is your OS? I believe it is operating system specific, in Ubuntu 18.04+ we have the redis-server.

Here is few things that may can help you.

  1. Try running sudo apt update before running valet install
  2. run apt show redis-server command, it should give you output as below:
Package: redis-server
Version: 5:6.0.16-1ubuntu1
Priority: optional
Section: universe/misc
Source: redis
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Chris Lamb <lamby@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 196 kB
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: lsb-base (>= 3.2-14), redis-tools (= 5:6.0.16-1ubuntu1)
Homepage: https://redis.io/
Download-Size: 45.9 kB
APT-Manual-Installed: yes
APT-Sources: http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: Persistent key-value database with network interface
 Redis is a key-value database in a similar vein to memcache but the dataset
 is non-volatile. Redis additionally provides native support for atomically
 manipulating and querying data structures such as lists and sets.
 .
 The dataset is stored entirely in memory and periodically flushed to disk.

Note: If your output doesn't match as above then you may need to add PPA for Redis-server, you can use below commands to add this:

sudo add-apt-repository ppa:redislabs/redis
sudo apt update
datlechin commented 1 year ago

@uttamrabadiya Ubuntu 22.10

uttamrabadiya commented 1 year ago

@datlechin Okay, it should work for Ubuntu 22.10 but have you tried above mentioned commands? I believe that should help you to get this fixed.

uttamrabadiya commented 1 year ago

@datlechin We've just fixed network connection issue, I believe you are facing this issue due to same. Please update to latest version, it will fix your issue.

Feel free to re-open if your issue persist.

Thank you