Unable to find expected entry 'restricted/binary-amd64/Packages' in Release file - release

I am on Desktop with Ubuntu 14.04 LTS, Intel i3, 4 GB RAM & 320 GB HDD.
Each time I try to install at, the time based scheduler, using:
sudo apt-get install at
I get error message,
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release
Unable to find expected entry 'restricted/binary-amd64/Packages'
in Release file (Wrong sources.list entry or malformed file)
I have updated the PPA Universe, but still end up getting this Error.

Related

Error while writing a file in dropbox with error code 29

I mounted dropbox in my machine (Ubuntu 20.04 LTS (Focal Fossa) ).
Trying to write a file inside mounted dropbox storage , in that I performed write(a_handle, a_pdata, a_sLength);
File created but Write failed with error 29.
Is anyway to identify or fix the issue ?

debootstrap fails with "Failed to retrieve InRelease"

I have a Intel 64-bit machine running Linux mint 18.1 . On this machine, when I run the following command
sudo debootstrap --arch ia64 wheezy rootfs http://ftp.us.debian.org/debian
with the following errors :
W: cannot check release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Failed to retrieve InRelease
Now, I have a second machine with exactly similar hardware configurations, running Ubuntu 16.04. On this machine, I get the same error but it still continues and downloads the rootfs correctly.
What could be the reason? I tried copying the keyrings from the working machine to the failing machine, still no luck. Both the devices are sitting in the same network with same network configurations
I tried what you did with the LinuxMint 18.1 LiveCD, and deboostrap fails not on the message you quote, but on the chroot step.
You should use --arch amd64 instead of --arch ia64.

Install reddit on CentOS

I'm getting the following error:
install-reddit.sh: line 79: /etc/lsb-release: No such file or
directory
cat /etc/issue
gives me
CentOS release 6.6 (Final)
I know the script is for ubuntu: https://github.com/reddit/reddit/wiki/reddit-install-script-for-Ubuntu but I was wondering if there is a way to make the script run on centOS? When I try to install normally it fails
In the end I did not find a solution to running the easy install from reddit. Instead I used vagrant to create a virtual Ubuntu Linux 12.04 (Precise Pangolin) which with a little fiddling worked fine for me.
The one issue is that you have to preallocate space for it (unlike if it were local (clearly)). I had to increase the size 4x to get it working for me.

Disable multipath while installing ubuntu

I have some problem while installing any ubuntu based distro
I have following setup
1 SSD drive with Windows
2 * 500 Gb drives ( same manufacturer etc.)
Whenever I try to install any ubuntu based distro, those 2 disks are detected as Mutlipath
(/dev/mapper). I can't install anything, as one of those disks is empty , one has some important data and stuff. When I disconnect one drive , then ubuntu setup sees it coretly and I can install linux without any problem. If I reconnect drive, linux fails to start ( multipath is loaded and it fails to find linux files )
Tried to plug in one drive into other slots on MB but still detected as multipath.
I even tried to install multipath-tools ( using terminal sudo apt-get install multipath-tools ) then in setup I was able to see all partitions on my drives , but disk were listed twice, once as /dev/mapper and once as /dev/sdb . Any attempt to install ( either on mapper or sdb ) resulted in some strange errors ( once it was failed to create swap on mapper , another time I just got "????" in message window
Any help, on how to disable this multipath and allowing to install ubuntu based distros would be welcome :)
UPDATE: It's clearly ubuntu installer issue. I just installed debian on same configuration without any problems. Hovever I'd prefer ubuntu , as it's more user friendly and less problems with dirvers etc.
To disable multipath:
multipath -f <path>
as per: http://docs.oracle.com/cd/E19122-01/j4500.array/820-3163/bcghjife.html#bcgcabjj

Install DRBD binary package for CentOS in RHEL v5 64 bit

i want to ask , i have installing DRBD binary package for CentOS on RHEL v5, there is 2 files.
1. drbd83-8.3.13-2.el5.centos.x86_64.rpm
2. kmod-drbd83-8.3.13-1.el5.centos.x86_64.rpm
first i execute drbd83-8.3.13-2.el5.centos.x86_64.rpm file with rpm -i <filename>, and then i execute kmod-drbd83-8.3.13-1.el5.centos.x86_64.rpm file with same command, but the second operation give output below :
error: Failed dependencies:
kernel(rhel5_lib_u6) = aab649531cab69cbeff5665f2aef9e0dba844b20 is needed by kmod-drbd83-8.3.13-1.el5.centos.x86_64
so what i must to do ??
i know, it required dependencies file named is aab649531cab69cbeff5665f2aef9e0dba844b20, but i do know what is aab649531cab69cbeff5665f2aef9e0dba844b20 ??
The error says that the kernel DRBD module (driver) you install is not built for the kernel version you have. The kernel version can be seen using
rpm -qa | grep kernel
Ensure that you have updated your Centos system (using 'yum update') and that you have the last relevant kmod-drbd.
On the Centos packages repository I can see that there is a newer drbd-kmod version than yours

Resources