载入软件包失败

Asked by wantyknow

这是个很严重的问题。请稍后重试。如果问题还出现,请向开发人员报告一个错误。
细节:
W:Ignoring file 'google-chrome.list.3' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, W:Ignoring file 'google-chrome.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, W:Ignoring file 'google-chrome.list.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, E:Malformed line 1 in source list /etc/apt/sources.list.d/google-chrome.list (type), E:The list of sources could not be read.

Question information

Language:
Chinese (Simplified) Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

What is the result of the commands:

sudo rm -v /etc/apt/sources.list.d/google-chrome.list.1
sudo rm -v /etc/apt/sources.list.d/google-chrome.list.2
sudo rm -v /etc/apt/sources.list.d/google-chrome.list.3
cat /etc/apt/sources.list.d/google-chrome.list

Revision history for this message
wantyknow (wantyknow) said :
#2

sudo rm -v /etc/apt/sources.list.d/google-chrome.list.2
已删除'/etc/apt/sources.list.d/google-chrome.list.2'
****@***:~$ sudo rm -v /etc/apt/sources.list.d/google-chrome.list.3
已删除'/etc/apt/sources.list.d/google-chrome.list.3'
******@*****~$ cat /etc/apt/sources.list.d/google-chrome.list
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Error 404 -www.linuxidc.com- File Not Found or Killed by other files</title>
<meta name="ROBOTS" content="INDEX, FOLLOW" />

<!--begin shake before use-->
<SCRIPT LANGUAGE="JavaScript1.2">

<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
         }
        }
           }
    }
    // End -->
    </script>
<!--einde shake before use-->

</head>
<body text="#ff0000" bgcolor="#000000" link="#ff0000" vlink="#ff0000" alink="#ff0000" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">

<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="90%" border="1" align="center" cellpadding="2" cellspacing="2" bgcolor="#000000" bordercolor="#000000" summary="">
<tr>
  <td width="334" align="left" valign="top"><font face="Verdana" size="1" font color="#ff0000"><p><h1>Error 404</h1>
  </font>
    <p>
          <h3><font color="#00CCFF" size="1" face="Verdana" font="font">The requested file is missing in action</font></h3>
          <p><font color="#00CCFF" size="1" face="Verdana" font="font">
          ...maybe it was eaten alive by other files due to a serious overpopulation of files on this server.</font>
          <p><font color="#00CCFF" size="1" face="Verdana" font="font">
          we try to feed our files once a day but sometimes we forget.</font>
          <p><font color="#00CCFF" size="1" face="Verdana" font="font">
          or maybe our harddisk is stuck and it just needs a good whack.
        </font>
    <p>
<p>
<p><font color="#ff0000" size="1" face="Verdana" font="font"><br>
    </font><font color="#ff0000" size="1" font="font"><font color="#0099CC" size="+6" face="&#40657;&#20307;">Linux&#20844;&#31038;&#26222;&#21450;Linux&#30693;&#35782;</font></font> 's 404 Page.
<p><font color="#ff0000" size="4" face="Verdana" font="font"><a href="http://www.linuxidc.com/topicnews.aspx?tid=2">Ubuntu&#19987;&#39064;</a></font>
<p><font color="#ff0000" size="4" face="Verdana" font="font"><a href="http://www.linuxidc.com/topicnews.aspx?tid=5">Fedora&#19987;&#39064;</a></font>
<p><font color="#ff0000" size="4" face="Verdana" font="font"><a href="http://www.linuxidc.com/topicnews.aspx?tid=3">SUSE&#19987;&#39064;</a></font>
<p><font color="#ff0000" size="4" face="Verdana" font="font"><a href="http://www.linuxidc.com/topicnews.aspx?tid=1">&#32418;&#26071;Linux&#19987;&#39064;</a></font>
<p><font color="#ff0000" size="4" face="Verdana" font="font"><a href="http://www.linuxidc.com/topicnews.aspx?tid=10">&#82;&#101;&#100;&#72;&#97;&#116;&#19987;&#39064</a></font>
<p><font color="#ff0000" size="4" face="Verdana"><a href="http://www.linuxidc.com">Linux&#20844;&#31038;</a></font>
<p></td>
    <td width="772" align="left" valign="top" bordercolor="#FF0000"><p id='anima' style="position:absolute;font-size:20;color:white;background-color:black;">
</p><br><br>
<script language="JavaScript">
<!-- Begin
text = "Congratulations to you .....You are in Linuxidc here...";
word = text.split('.');
i = -1; //letter count ...�ո�
j = 0; //which word in array is to be spelled
start = 0; //variable to hold cycles of the blink
scount = 0; //variable to hold cycles of the mispell
function checkIt() {
with(document.all.anima) {
if(innerText.charAt(innerText.length-1) == "_") {
innerText = innerText.substring(0, innerText.length - 1);
return true;
}
else {
innerText = innerText + "_";
return false;
      }
   }
}
function blinkfor(count, timing) {
with(document.all.anima) {
if(start < count) {
if(checkIt()) {
start++;
}
mistake = 'blinkfor('+count+','+timing+')';
setTimeout('eval(mistake)', timing);
}
else {
start = 0;
i++;
call_It();
      }
   }
}
function mispell(offset,correction) {
with(document.all.anima) {
if(scount < offset) {
if(!checkIt()) {
innerText = innerText.substring(0, innerText.length-2) + "_";
scount++;
}
mistake = 'mispell(' + offset + ', "' + correction + '")';
setTimeout("eval(mistake)", 150);
}
else {
if(correction == '' && scount == offset ) {
i = i - offset;
scount++;
}
if(offset > 0) {
if(checkIt()) {
innerText += correction.charAt(correction.length - offset) + "_";
offset--;
}
mistake = 'mispell(' + offset + ',"' + correction + '")';
setTimeout("eval(mistake)", 150);
}
else {
scount = 0;
j++;
innerText = innerText.substring(0, innerText.length - 1);
call_It();
         }
      }
   }
}
function spellit(string) {
with(document.all.anima) {
if(i <= string.length) {
if(string.charAt(i) == '/') {
NumErrs = string.charAt(i + 1);
NewLets = string.substring(i + 2, i + NumErrs);
mispell(NumErrs,NewLets);
}
else if(i <= string.length - 1) {
i++;
innerText = string.substring(0,i) + "_";
mistake = 'spellit("' + string + '")';
setTimeout("eval(mistake)", 150);
}
else {
innerText = string.substring(0, i);
j++;
call_It();
         }
      }
   }
}
function call_It() {
with(document.all) {
if(i == -1){
blinkfor(4, 150);
}
else if(j <= word.length - 1) {
spellit(anima.innerText + " " + word[j]);
}
else {
blinkfor(100,230);
      }
   }
}
if(document.all) {
call_It();
}
// End -->
</script></td>
  </tr>
</table>

</body>
</html>

that's all,Is there something wrong with my google-chrome.list?

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#4

The contents of /etc/apt/sources.list.d/google-chrome.list should be:

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

Revision history for this message
wantyknow (wantyknow) said :
#5

Thanks Manfred Hampl, that solved my question.