¿Cómo agrego el PPA del kernel principal?


Respuestas:


7

Nota: las versiones de prueba / depuración del núcleo superiores a su núcleo predeterminado, por ejemplo, 3.3, 3.4, 3.5, etc., solo se proporcionan a través de archivos deb, no a través de este PPA.

Probablemente desee agregar este PPA , el único activo que mantiene el equipo del kernel, que contiene el último kernel propuesto previamente para cada versión:

ppa:kernel-ppa/pre-proposed

Gracias, realmente pensé que fueron provistos por el ppa anterior. Sí, estoy buscando el último kernel 3.5.
Paulo Matos

1
@ PauloJ.Matos: Puede encontrar los archivos deb necesarios para la última versión 3.5 aquí .
ish

1
@Bucic: las debs son del equipo de kernel de Ubuntu, y tu PPA es de un tercero (xorg-edgers). Confiaría en lo primero sobre lo último :)
ish

1
@izx No es como si fuera un grupo pésimo conocido por nadie, ya sabes;) Pero estoy de acuerdo. No se recomienda actualizar a los núcleos de la línea principal a menos que experimente problemas con su núcleo actual, pero si está actualizando a la línea principal es mejor que sea del equipo de ubuntu :)
Bucic

11
Este PPA parece haber sido abandonado. "Número de paquetes: 0 paquetes fuente (0 bytes) 0 paquetes binarios (0 bytes)". Solo queda la página kernel.ubuntu.com/~kernel-ppa/mainline , pero no quiero instalar paquetes no autenticados. No es HTTPS y no hay una firma GPG para las compilaciones. No vayas por mí.
gertvdijk

5

Que yo sepa, no hay forma de agregar eso al /etc/apt/sources.listarchivo. Hay un script que puede hacer el trabajo https://github.com/GM-Script-Writer-62850/Ubuntu-Mainline-Kernel-Updater

Comandos de terminal: (editar, información más actualizada ahora en el archivo Léame en el enlace de arriba)

cd /tmp
git clone git://github.com/GM-Script-Writer-62850/Ubuntu-Mainline-Kernel-Updater
bash Ubuntu-Mainline-Kernel-Updater/install

Verificará las actualizaciones al iniciar sesión + 60 segundos, puede buscar actualizaciones en cualquier momento ejecutando el KernelUpdateChecker uso -ho --helpcon eso para obtener ayuda


3

Puede usar Ukuu (que significa 'Ubuntu Kernel Update Utility'). Esta sencilla aplicación de escritorio lo ayuda a instalar un nuevo núcleo en Ubuntu, Linux Mint y otras distribuciones basadas en Ubuntu, utilizando los núcleos "mainline" publicados por Canonical.

Instalación:

sudo add-apt-repository ppa:teejee2008/ppa
sudo apt-get update && sudo apt-get install ukuu

Luego ejecute "ukuu" desde el inicio de la aplicación y le mostrará todos los núcleos estables para elegir. Si desea kernels rc inestables, puede deshabilitar el indicador "ocultar inestables y RC Releases" en la configuración


-3
/*tested code already , 
whipped this right up hope it works for you, it downloads the latest kernel from the daily mainline , 
and checks if its on your sys if not installs it 
tested and working :) simply compile as anything .c with your gcc
download at : [here](http://ubuntuone.com/0mLWYLhGPJlHGFXONz6EcO)
*/
//code below ----------------------
// it doesn’t show the imports so put them as comments to the side for who ever just does 
// copy paste 
#include <stdio.h> //stdio.h
#include <stdlib.h> //stdlib.h
#include <string.h> //string.h

void getpage(void)
{
system("mkdir ./kup;cd ./kup;wget http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/;cat ./index.html|grep -i deb|grep -i linux>>./list;cd ./..");
printf("\n\nwhich archetype would u like to grab \n1: 32 bit\n2: 64bit\n(1/2 1 is default) : ");
char c;
system("uname -i>>./kup/p");
FILE* arch=fopen("./kup/p","r");
c=fgetc(arch);
if(c!='a'){
c=1;}
if(c=='a'){c=2;}
if(c=='2'){
system("cd ./kup;cat ./list|grep -i amd64 >> ./list2;cd ./..");
}
else{
system("cd ./kup;cat ./list|grep -i i386 >> ./list2;cd ./..");
}

system("cd ./kup;cat ./list|grep -i _all >> ./list2;rm -rf ./list;rm -rf ./index.html;cd ./..");

}

int install(void){
printf("\nnow getting ready to check the current kernel install the newest kernel if newer\npress anybtton to continue or q to quit\n");
char c;
c='\n';
if(c=='q'){return 0;}else{
system("dir ./kup>>./kup/test");
char *t=malloc(sizeof(char)*256);
t[0]='d';
t[1]='p';
t[2]='k';
t[3]='g';
t[4]=' ';
t[5]='-';
t[6]='l';
t[7]='|';
t[8]='g';
t[9]='r';
t[10]='e';
t[11]='p';
t[12]=' ';
t[13]='-';
t[14]='i';
t[15]=' ';
int tn=16;
FILE* f2 = fopen("./kup/test","r");
char c;
c=fgetc(f2);
while(c!='_'){
t[tn]=c;
tn++;
c=fgetc(f2);
}

t[tn]='>';
tn++;
t[tn]='>';
tn++;
t[tn]='.';
tn++;
t[tn]='/';
tn++;
t[tn]='k';
tn++;
t[tn]='u';
tn++;
t[tn]='p';
tn++;
t[tn]='/';
tn++;
t[tn]='a';
system(t);
FILE *f3 =fopen("./kup/a","r");

char check;
check = fgetc(f3);
printf("\"%c\"",check);
if(check !='i'){
printf("\nthere is a newer version , press enter key to update\n");
system("sudo dpkg -i ./kup/*deb;rm -rf ./kup;sudo update-grub;");
return 0;
}else{printf("\nyour system is up to date\n\n exiting \n");}
system("rm -rf ./kup");
return 0;
}
}

void download(char* url)
{
char *com=malloc(sizeof(char)*256);
com[0]='c';
com[1]='d';
com[2]=' ';
com[3]='k';
com[4]='u';
com[5]='p';
com[6]=';';
com[7]='w';
com[8]='g';
com[9]='e';
com[10]='t';
com[11]=' ';
int i=12;
int l =1;
while(l==1)
{
com[i]=url[i-12];
if(com[i]=='b'&&com[i-1]=='e'&&com[i-2]=='d'&&com[i-3]=='.'){
l=0;
}
i++;
}
system("rm -rf ./kup/list2;");
system(com);

}

void getkernel(void){
char links[3][256];
//start writing//
links[0][0]='k';
links[0][1]='e';
links[0][2]='r';
links[0][3]='n';
links[0][4]='e';
links[0][5]='l';
links[0][6]='.';
links[0][7]='u';
links[0][8]='b';
links[0][9]='u';
links[0][10]='n';
links[0][11]='t';
links[0][12]='u';
links[0][13]='.';
links[0][14]='c';
links[0][15]='o';
links[0][16]='m';
links[0][17]='/';
links[0][18]='~';
links[0][19]='k';
links[0][20]='e';
links[0][21]='r';
links[0][22]='n';
links[0][23]='e';
links[0][24]='l';
links[0][25]='-';
links[0][26]='p';
links[0][27]='p';
links[0][28]='a';
links[0][29]='/';
links[0][30]='m';
links[0][31]='a';
links[0][32]='i';
links[0][33]='n';
links[0][34]='l';
links[0][35]='i';
links[0][36]='n';
links[0][37]='e';
links[0][38]='/';
links[0][39]='d';
links[0][40]='a';
links[0][41]='i';
links[0][42]='l';
links[0][43]='y';
links[0][44]='/';
links[0][45]='c';
links[0][46]='u';
links[0][47]='r';
links[0][48]='r';
links[0][49]='e';
links[0][50]='n';
links[0][51]='t';
links[0][52]='/';
//done writing//
char c[5];
int l=1;
FILE* file = fopen("./kup/list2","r");
c[0]=fgetc(file);
while(c[0]!=EOF && l ==1)
{
int u=0;
if(c[0]=='h'){
c[1]=fgetc(file);
if(c[1]=='r'){
c[2]=fgetc(file);
if(c[2]=='e'){
c[3]=fgetc(file);
if(c[3]=='f'){
c[4]=fgetc(file);
c[4]=fgetc(file);
int i=53;
c[4]=fgetc(file);
while(c[4]!='\"'){
links[u][i]=c[4];
i++;
c[4]=fgetc(file);
}

download(links[0]);
u++;
if(u==3){
c[0]=EOF;
l=0;
}
}
}
}
}
c[0]=fgetc(file);
}

}

int main(void)
{
getpage();
getkernel();
install();
}

comprueba la compilación diaria actual de la línea principal del kernel de ubuntu y actualiza la suya si no actualiza la versión ya limpiada, no necesita la entrada del usuario, detecta el arco de su kernel actual (32 bit 64 bit) aquí ubuntuone.com/0mLWYLhGPJlHGFXONz6EcO
user183601

ok publiqué un enlace al de mi ubuntu y cambié el código aquí y agregué <br> s
user183601

gracias como puedes decir que soy nuevo en este sitio, di una respuesta y un código y lo
agregué

actualización: en el enlace lo cambió para usar uname -v en lugar de uname -r para comparar con el otro en esta actualización más reciente no actualizó los otros lo hicieron ahora :) :) lo arregló en esa parte :) y también si su ejecutando ubuntu 13.04 32 bits, creo que puede ser compatible b obtenga el binario de ubuntuone.com/3cwJte3KtfNNnGcrMcnl6B
user183601

9
¿Por qué demonios se trata de un programa C que invoca en system(3)lugar de un script de shell? O_o
liyang
Al usar nuestro sitio, usted reconoce que ha leído y comprende nuestra Política de Cookies y Política de Privacidad.
Licensed under cc by-sa 3.0 with attribution required.