Não necessariamente pedindo uma solução, mas apenas o significado do que estou lidando:
admin@hostname:/etc/apache2/mods-available$ sudo apt-get install libapache2-mod-mono
Reading package lists... Done
Building dependency tree
Reading state information... Done
admin@hostname:/etc/apache2/mods-available$ sudo apt-get remove libapache2-mod-mono
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libapache2-mod-mono' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 191 not upgraded.
Se o pacote não estiver sendo instalado, por que não estou recebendo um erro? Se eu fizer uma pesquisa no apt-cache, o nome do pacote aparece e os logs do apt nem sequer me mencionam tentando instalar este pacote.
Para mais informações, estou executando o Debian 8.1 (Jessie) na AWS. Eu estava seguindo estas instruções: link
Eu executei os seguintes comandos:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
Sem um erro, não tenho certeza do que fazer. Eu nunca vi o apt-get fazer isso antes. Ajuda?
EDITAR:
Estas são as informações da política:
admin@hostname:~$ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://download.mono-project.com/repo/debian/ wheezy-libjpeg62-compat/main amd64 Packages
release v=7.0,o=XamarinLibJpeg62Compat,a=stable-libjpeg62-compat,n=wheezy-libjpeg62-compat,l=Xamarin-Stable-libjpeg62-compat,c=main
origin download.mono-project.com
500 http://download.mono-project.com/repo/debian/ wheezy-apache24-compat/main amd64 Packages
release v=7.0,o=XamarinApache24Compat,a=stable-apache24-compat,n=wheezy-apache24-compat,l=Xamarin-Stable-apache24-compat,c=main
origin download.mono-project.com
500 http://download.mono-project.com/repo/debian/ wheezy/main amd64 Packages
release v=7.0,o=Xamarin,a=stable,n=wheezy,l=Xamarin-Stable,c=main
origin download.mono-project.com
500 http://cloudfront.debian.net/debian/ jessie-updates/main Translation-en
500 http://cloudfront.debian.net/debian/ jessie-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=main
origin cloudfront.debian.net
500 http://security.debian.org/ jessie/updates/main Translation-en
500 http://security.debian.org/ jessie/updates/main amd64 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
origin security.debian.org
500 http://cloudfront.debian.net/debian/ jessie/main Translation-en
500 http://cloudfront.debian.net/debian/ jessie/main amd64 Packages
release v=8.2,o=Debian,a=stable,n=jessie,l=Debian,c=main
origin cloudfront.debian.net
Pinned packages:
admin@hostname:~$ apt-cache policy libapache2-mod-mono
libapache2-mod-mono:
Installed: (none)
Candidate: 3.12-0xamarin2+compat1
Version table:
3.12-0xamarin2+compat1 0
500 http://download.mono-project.com/repo/debian/ wheezy-apache24-compat/main amd64 Packages
3.12-0xamarin2 0
500 http://download.mono-project.com/repo/debian/ wheezy/main amd64 Packages